PromiseHooks
[<Interface>]
type PromiseHooks =
abstract member createHook: HookCallbacks -> Action with get, set
abstract member onAfter: After -> Action with get, set
abstract member onBefore: Before -> Action with get, set
abstract member onInit: Init -> Action with get, set
abstract member onSettled: Settled -> Action with get, set
static member Create (onInit: Init -> Action, onSettled: Settled -> Action, onBefore: Before -> Action, onAfter: After -> Action, createHook: HookCallbacks -> Action) : PromiseHooks
| |
|---|
| Assembly | Glutinum.Node |
| Inherits | obj \| null |
| Attributes | [<AllowNullLiteral>] [<Interface>] |
Properties
abstract member createHook: HookCallbacks -> Action with get, set
abstract member onAfter: After -> Action with get, set
abstract member onBefore: Before -> Action with get, set
abstract member onInit: Init -> Action with get, set
abstract member onSettled: Settled -> Action with get, set
Methods
static member Create (onInit: Init -> Action, onSettled: Settled -> Action, onBefore: Before -> Action, onAfter: After -> Action, createHook: HookCallbacks -> Action) : PromiseHooks