Properties
close
close: () => Promise<void>
open
open: (config: C) => Promise<void>
Type declaration
-
- (config: C): Promise<void>
-
Parameters
Returns Promise<void>
read
read: () => Promise<{ msg: Uint8Array; nodeId: string; resourceId: string; resourceType: T }>
Type declaration
-
- (): Promise<{ msg: Uint8Array; nodeId: string; resourceId: string; resourceType: T }>
-
Returns Promise<{ msg: Uint8Array; nodeId: string; resourceId: string; resourceType: T }>
write
write: (resourceType: T, resourceId: string, msg: Uint8Array, nodeId: string) => Promise<void>
Type declaration
-
- (resourceType: T, resourceId: string, msg: Uint8Array, nodeId: string): Promise<void>
-
Parameters
-
resourceType: T
-
resourceId: string
-
msg: Uint8Array
-
nodeId: string
Returns Promise<void>