Step.name
property · packages/metakit/src/temporalWalk.ts:6
readonly name: NameMetakit / @doeixd/metakit/temporal
interface · packages/metakit/src/temporalWalk.ts:5
interface Step<State, Name extends string, Of extends string = never> {
readonly name: Name
readonly of?: Of
readonly after?: ReadonlyArray<Step<State, NoInfer<Name>, string>>
readonly run: (state: State) => State
}One step of a scenario: a send, an answer, a reconnect.
Step.nameproperty · packages/metakit/src/temporalWalk.ts:6
readonly name: NameStep.ofproperty · packages/metakit/src/temporalWalk.ts:8
readonly of?: OfThe Message or transition this step is an instance of: what an obligation's over names.
Step.afterproperty · packages/metakit/src/temporalWalk.ts:10
readonly after?: ReadonlyArray<Step<State, NoInfer<Name>, string>>The steps of the scenario that must have run before this one (an answer after its send).
Step.runproperty · packages/metakit/src/temporalWalk.ts:11
readonly run: (state: State) => State