@ue-too/being-portable / EffectImplementation
型別別名: EffectImplementation
EffectImplementation =
object
定義於: being-portable/src/host.ts:18
One host capability, as the host writes it.
屬性
args
readonlyargs:Readonly<Record<string,TypeSpec>>
定義於: being-portable/src/host.ts:20
Argument names and types; must match the document's declaration exactly.
returns?
readonlyoptionalreturns:TypeSpec
定義於: being-portable/src/host.ts:22
Return type; must match the document's declaration exactly.
run()
readonlyrun: (args) =>Value|void
定義於: being-portable/src/host.ts:24
Receives validated, frozen arguments.
參數
args
Readonly<Record<string, Value>>
回傳
Value | void