Interface SuiTransportSubscribeOptions<T>

interface SuiTransportSubscribeOptions<T> {
    method: string;
    onMessage: ((event) => void);
    params: unknown[];
    unsubscribe: string;
}

Type Parameters

  • T

Properties

method: string
onMessage: ((event) => void)

Type declaration

    • (event): void
    • Parameters

      • event: T

      Returns void

params: unknown[]
unsubscribe: string