Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

createM2RApi

  • createM2RApi<M>(channel: string, manifest: M): M2RAPIm<M>
  • create API bridge between MAIN process caller and RENDERER process callee

    Type parameters

    Parameters

    • channel: string

      the channel to use

    • manifest: M

      API manifest

    Returns M2RAPIm<M>

createM2RApiTs

  • createM2RApiTs<T>(channel: string): M2RAPI<T>
  • create API bridge between MAIN process caller and RENDERER process callee

    generic type required

    Type parameters

    • T

    Parameters

    • channel: string

      the channel to use

    Returns M2RAPI<T>

createR2MApi

  • createR2MApi<M>(channel: string, manifest: M): R2MAPIm<M>
  • create API bridge between RENDERER process caller and MAIN process callee

    Type parameters

    Parameters

    • channel: string

      the channel to use

    • manifest: M

      API manifest

    Returns R2MAPIm<M>

createR2MApiTs

  • createR2MApiTs<T>(channel: string): R2MAPI<T>
  • create API bridge between RENDERER process caller and MAIN process callee

    generic type required

    Type parameters

    • T

    Parameters

    • channel: string

      the channel to use

    Returns R2MAPI<T>

Legend

  • Function with type parameter
  • Type alias with type parameter
  • Interface
  • Class with type parameter

Generated using TypeDoc