UNPKG

@bajetech/digitalbits-wallet-sdk

Version:

A library to make it easier to write wallets that interact with the DigitalBits blockchain

11 lines (10 loc) 326 B
export interface WatcherParams<T> { onMessage: (payload: T) => void; onError: (error: any) => void; } export declare type WatcherRefreshFunction = () => void; export declare type WatcherStopFunction = () => void; export interface WatcherResponse { refresh: WatcherRefreshFunction; stop: WatcherStopFunction; }