@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
readonlyargs:Readonly<Record<string,TypeSpec>>
Defined in: being-portable/src/host.ts:20
Argument names and types; must match the document's declaration exactly.
returns?
readonlyoptionalreturns:TypeSpec
Defined in: being-portable/src/host.ts:22
Return type; must match the document's declaration exactly.
run()
readonlyrun: (args) =>Value|void
Defined in: being-portable/src/host.ts:24
Receives validated, frozen arguments.
Parameters
args
Readonly<Record<string, Value>>
Returns
Value | void