InstantiationNode.initialize

Initializes an instantiation node, must be later disposed.

This procedure initializes the collection of continuations and sets up unique indexes for each in-edge slot.

struct InstantiationNode
@nogc nothrow static
initialize

Parameters

self InstantiationNode*

Address of node being initialized.

n uint

Number of continuations to instantiate.

Return Value

Type: err_t

Zero on success, non-zero on failure (OOM or zero continuations).