Skip to content

MeshFlow Core API


MeshFlow Core API / MeshFlowTaskNode

Interface: MeshFlowTaskNode<P, V, NM>

Defined in: types/types.ts:152

Description

task节点类型

Type Parameters

P

P extends MeshPath = MeshPath

V

V = any

NM

NM = any

Properties

calledBy

calledBy: TriggerCause

Defined in: types/types.ts:172


createView

createView: <E>(extraProps?) => MeshNodeProxy<MeshFlowTaskNode<P, V, NM>, V, NM, E>

Defined in: types/types.ts:176

Type Parameters

E

E extends Record<string, any> = { }

Parameters

extraProps?

E

Returns

MeshNodeProxy<MeshFlowTaskNode<P, V, NM>, V, NM, E>


dependOn

dependOn: (cb, key?) => void

Defined in: types/types.ts:175

Parameters

cb

(val) => V

key?

SuggestKey<NM>

Returns

void


dirtySignal

dirtySignal: any

Defined in: types/types.ts:168


meta

meta: NM

Defined in: types/types.ts:174


nodeBucket

nodeBucket: Record<SuggestKey<NM>, number>

Defined in: types/types.ts:164


notifyKeys

notifyKeys: Set<SuggestKey<NM>>

Defined in: types/types.ts:165


path

path: P

Defined in: types/types.ts:157


proxy

proxy: MeshNodeProxy<MeshFlowTaskNode<P, V, NM>, V, NM>

Defined in: types/types.ts:170


state

state: V

Defined in: types/types.ts:161


type

type: string

Defined in: types/types.ts:159


uid

uid: number

Defined in: types/types.ts:158