mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
improve the way to register
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export interface wsCallbacksParams {
|
||||
type: 'Offline' | 'Online' | 'Open' | 'Onmessage',
|
||||
funx: Function
|
||||
options?: {
|
||||
runOnces?: boolean
|
||||
}
|
||||
requestId?: string
|
||||
}
|
||||
|
||||
|
||||
export interface msgQueue {
|
||||
message: object,
|
||||
requestId: string
|
||||
}
|
||||
Reference in New Issue
Block a user