Properties
Optional
close
close?: (() => void | Promise<void>)
Type declaration
-
-
Returns void | Promise<void>
oncommand
oncommand: ((command: string, args: any) => Promise<any>)
Type declaration
-
- (command: string, args: any): Promise<any>
-
Parameters
-
command: string
-
args: any
Returns Promise<any>
Optional
onrecord
onrecord
?: ((record
: Record) => Promise<void>)
Type declaration
-
- (record: Record): Promise<void>
Optional
open
open?: (() => void | Promise<void>)
Type declaration
-
-
Returns void | Promise<void>