Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "local/renderer"

Index

Type aliases

ReactNodeLike

ReactNodeLike: ReactNode | string | number

Functions

confirm

ipcAsync

  • ipcAsync(channel: string, ...additionalArgs: any[]): Promise<any>
  • Utility function to send an IPC event to the renderer thread and await either a success or error response and return it as a Promise.

    The channel will automatically be tokenized to ensure a response came from the expected request.

    see

    LocalMain.addIpcAsyncListener()

    Parameters

    • channel: string
    • Rest ...additionalArgs: any[]

    Returns Promise<any>

Generated using TypeDoc