Skip to content

load

load<T>(data): DirectInput<T>

Defined in: input.ts:284

Create a DirectInput with inline data.

T

The type of the data

T

The inline data value

DirectInput<T>

DirectInput specification

// Testing with mock data
new Planner()
.in(load({ name: 'test', value: 42 }))
.emit((out, $) => out.add('name', $.get('name').string()))
.compile()