SkipContext\<TProfile *extends* [`SpeedProfile`](/api/interfaces/index.SpeedProfile/) = [`SpeedProfile`](/api/interfaces/index.SpeedProfile/)\>
pixi-reels / index / SkipContext
Interface: SkipContext<TProfile extends SpeedProfile = SpeedProfile>
Defined in: config/types.ts:126
What a phase receives in onSkip(ctx): the mode of the press that reached
it, the profile it should finish on (a 'quicken' that named one), and
whatever the game attached. See SkipOptions. The same press rides
on skip:requested / skip:completed (as SkipInfo, with the reels) and
ends up in SpinResult.skipContext.
Extended by#
Type Parameters#
| Type Parameter | Default type |
|---|---|
TProfile extends SpeedProfile | SpeedProfile |
Properties#
| Property | Type | Defined in |
|---|---|---|
mode | SkipMode | config/types.ts:127 |
payload? | unknown | config/types.ts:129 |
speed? | TProfile | config/types.ts:128 |