Function

Dex-1Dexaio_write

  • An asynchronous pwrite() wrapper.

    Generally you want to provide NULL for the aio_context as that will get the default aio context for your scheduler.

    Parameters

    • aio_context: AioContext
    • fd: number
    • buffer: string | Uint8Array<ArrayBufferLike>
    • offset: number | bigint

      the positioned offset within fd to write at

    Returns Dex.Future

    a future that will resolve when the write completes or rejects with error.