Create and add a run to the run map for chain start events. This must sometimes be done synchronously to avoid race conditions when callbacks are backgrounded, so we expose it as a separate method here.
_createRunForChainStart(
chain: Serialized,
inputs: ChainValues,
runId: string,
parentRunId: string,
tags: string[],
metadata: KVMap,
runType: string,
name: string,
extra: Record<string, unknown>
): __type| Name | Type | Description |
|---|---|---|
chain* | Serialized | |
inputs* | ChainValues | |
runId* | string | |
parentRunId | string | |
tags | string[] | |
metadata | KVMap | |
runType | string | |
name | string | |
extra | Record<string, unknown> |