Skip to content

@ue-too/being-portable / EffectImplementation

Type Alias: EffectImplementation ​

EffectImplementation = object

Defined in: being-portable/src/host.ts:18

One host capability, as the host writes it.

Properties ​

args ​

readonly args: Readonly<Record<string, TypeSpec>>

Defined in: being-portable/src/host.ts:20

Argument names and types; must match the document's declaration exactly.


returns? ​

readonly optional returns: TypeSpec

Defined in: being-portable/src/host.ts:22

Return type; must match the document's declaration exactly.


run() ​

readonly run: (args) => Value | void

Defined in: being-portable/src/host.ts:24

Receives validated, frozen arguments.

Parameters ​

args ​

Readonly<Record<string, Value>>

Returns ​

Value | void