@ue-too/being-portable / PortableContext
インターフェイス: PortableContext
定義: being-portable/src/api-types.ts:26
A read-only view of a portable machine's context. Only events change it.
拡張
BaseContext
メソッド
cleanup()
cleanup():
void
定義: being/dist/interface.d.ts:31
戻り値
void
継承元
BaseContext.cleanup
fields()
fields():
Readonly<Record<string,Value>>
定義: being-portable/src/api-types.ts:30
Every field's current value, frozen.
戻り値
Readonly<Record<string, Value>>
get()
get(
field):Value
定義: being-portable/src/api-types.ts:28
The field's current value. Lists are frozen. Throws for an unknown field.
パラメータ
field
string
戻り値
setup()
setup():
void
定義: being/dist/interface.d.ts:30
戻り値
void
継承元
BaseContext.setup