@tabcat/zzzync
    Preparing search index...

    Type Alias OnReceive

    OnReceive: (received: ReceivedRecord, options?: AbortOptions) => Promise<void>

    Called once the handler has received and signature-validated a record and imported its CAR into the blockstore. Implementations own the durable side: recording the work, pinning the content, and publishing the record to routers. The handler awaits this before closing the stream as success, so it should return promptly once it has durably recorded enough to recover the work, running the slow pin and DHT publish in the background.

    Type Declaration

      • (received: ReceivedRecord, options?: AbortOptions): Promise<void>
      • Parameters

        Returns Promise<void>