Skip to main content

Flow

@dopt/react / Exports / Flow

Interface: Flow

Table of contents

Properties

Properties

type

type: "flow"

Defined in

packages/@dopt/react/src/types.ts:234


kind

kind: "flow"

Defined in

packages/@dopt/react/src/types.ts:235


uid

uid: string

Defined in

packages/@dopt/react/src/types.ts:236


sid

sid: string

Defined in

packages/@dopt/react/src/types.ts:237


version

version: number

Defined in

packages/@dopt/react/src/types.ts:238


state

state: Object

The up-to-date state of this Flow instance.

Type declaration

NameType
stoppedboolean
startedboolean
finishedboolean

Defined in

packages/@dopt/react/src/types.ts:242


blocks

blocks: Block<unknown>[]

Accessing blocks directly from a flow doesn't permit type-safety for block.transitioned.

Defined in

packages/@dopt/react/src/types.ts:246