AsyncResourceOptions
[<Interface>]
type AsyncResourceOptions =
abstract member requireManualDestroy: bool option with get, set
abstract member triggerAsyncId: float option with get, set
static member Create (?triggerAsyncId: float, ?requireManualDestroy: bool) : AsyncResourceOptions| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Properties
abstract member requireManualDestroy: bool option with get, set
abstract member requireManualDestroy: bool option with get, setDisables automatic emitDestroy when the object is garbage collected. This usually does not need to be set (even if emitDestroy is called manually), unless the resource's asyncId is retrieved and the sensitive API's emitDestroy is called with it.
abstract member triggerAsyncId: float option with get, set
abstract member triggerAsyncId: float option with get, setThe ID of the execution context that created this async event.
Methods
static member Create (?triggerAsyncId: float, ?requireManualDestroy: bool) : AsyncResourceOptions