Interface ListenToSocketioEventOptions<Message>

interface ListenToSocketioEventOptions<Message> {
    event: string;
    onMessage: ((message) => void);
}

Type Parameters

  • Message extends object

Properties

Properties

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

Type declaration

    • (message): void
    • Parameters

      Returns void