Type Alias ScopedBridgeManagerMethods<B>
ScopedBridgeManagerMethods<B>: { fromBridge: ((obj: any) => Promise<unknown>); getBridgeId?: (() => B); initHandler: ((handler: Remote<BridgeHandler>) => void); setHandler: ((handler: Remote<BridgeHandler>) => void); toBridge: ((obj: any) => Promise<any>); } Type declaration
fromBridge: ((obj: any) => Promise<unknown>)
- (obj): Promise<unknown>
Returns Promise<unknown>
Optional
getBridgeId?: (() => B)
initHandler: ((handler: Remote<BridgeHandler>) => void)
- (handler): void
Returns void
setHandler: ((handler: Remote<BridgeHandler>) => void)
- (handler): void
Returns void
toBridge: ((obj: any) => Promise<any>)
- (obj): Promise<any>
Returns Promise<any>
Upcall from Golang into the VM