@acala-network/chopsticks-core • Docs
@acala-network/chopsticks-core / SubscriptionManager
Interface: SubscriptionManager
Properties
subscribe()
subscribe: (
method
,subid
,onCancel
?) => (data
) =>void
Parameters
• method: string
• subid: string
• onCancel?
Returns
Function
Parameters
• data: any
Returns
void
Defined in
packages/core/src/rpc/shared.ts:37
unsubscribe()
unsubscribe: (
subid
) =>void
Parameters
• subid: string
Returns
void