microfoom
API referenceFunctions

attachContext

Function: attachContext()

function attachContext<P>(program, context): void;

Defined in: packages/microfoom-core/src/program.ts:140

Internal: the runner wires this.agent after constructing a program.

Type Parameters

Type Parameter
P extends object

Parameters

ParameterType
programP
contextAgentProgramContext<P>

Returns

void

On this page