Skip to main content

setRequestIdStart

Callable

  • setRequestIdStart(start: undefined | number): void

  • Optionally use to make the jsonrpc id start from a specific number. Without calling this function, the id will be filled with a Uuid. But after this being called with a number, the id will be a number staring from the provided start variable. However, if undefined was passed to this function, the id will be a Uuid again.


    Parameters

    • start: undefined | number

      a number to start incrementing from. Or undefined to use a new Uuid (this is the default behavior)

    Returns void