Function blockFactory
-
Parameters
- blockName: string
the block name to initialize. If the block comes from an external module, the name should be in the format "module/blockName"
Returns () => Promise<typeof FlowGraphBlock>
an async factory function that will return the block class when called.
- blockName: string
a function to get a factory function for a block.