Function ParseBlockAsync
-
ParseBlockAsync(
serializationObject: ISerializedFlowGraphBlock,
parseOptions: IFlowGraphBlockParseOptions,
): Promise<FlowGraphBlock>Parameters
- serializationObject: ISerializedFlowGraphBlock
the object to parse from
- parseOptions: IFlowGraphBlockParseOptions
options for parsing the block
Returns Promise<FlowGraphBlock>
the parsed block
- serializationObject: ISerializedFlowGraphBlock
Parses a block from a serialization object This function is async due to the factory method that is used to create the block's class. If you load the class externally use ParseBlockWithClassType