peerix - v0.6.0
    Preparing search index...

    Interface DriverEvents

    Defines the internal events emitted by the Driver class.

    interface DriverEvents {
        active: [];
        error: [any];
        inactive: [];
        publish: [string, number[]];
        subscribe: [string, (data: number[]) => void];
        unsubscribe: [string, (data: number[]) => void];
    }
    Index
    active: []

    The driver has become active.

    error: [any]

    An error occurred within the driver.

    inactive: []

    The driver has become inactive.

    publish: [string, number[]]

    A message was published.

    subscribe: [string, (data: number[]) => void]

    A subscription was added.

    unsubscribe: [string, (data: number[]) => void]

    A subscription was removed.