Interface InboxChannelOptions

interface InboxChannelOptions {
    onNew?: ((conversation) => void);
    onRemove?: ((conversation) => void);
    onSync?: ((state) => void);
    onUpdated?: ((conversation) => void);
}

Properties

onNew?: ((conversation) => void)

Lower level API than onSync. Called for every conversation that is added to the state.

Type declaration

    • (conversation): void
    • Parameters

      Returns void

onRemove?: ((conversation) => void)

Lower level API than onSync. Called whenever a conversation is evicted from the state.

Type declaration

    • (conversation): void
    • Parameters

      Returns void

onSync?: ((state) => void)

Called any time the conversations state changes with the full, latest state.

Type declaration

onUpdated?: ((conversation) => void)

Lower level API than onSync. Called for every conversation update.

Type declaration

    • (conversation): void
    • Parameters

      Returns void

Generated using TypeDoc