Hierarchy

  • ElectronMessageBus

Implements

  • MessageBus

Constructors

Properties

Methods

Constructors

Properties

ipc: any

Methods

  • Type Parameters

    • T

    Parameters

    • topic: string
    • message: T
    • Optional options: MessageBusOptions

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • topic: string
    • listener: ((event: any, message: T) => void)
        • (event: any, message: T): void
        • Parameters

          • event: any
          • message: T

          Returns void

    • Optional options: MessageBusOptions

    Returns Promise<MessageBusSubscription>

  • Parameters

    • subscription: MessageBusSubscription

    Returns Promise<any>