Documentation
    Preparing search index...

    Interface UploaderContext

    Context handed to an Uploader for a single upload. Carries the service-owned uploadId and a sink for streaming progress / state changes.

    interface UploaderContext {
        uploadId: string;
        windowId: string;
        onStatus(status: UploadStatus): void;
    }
    Index

    Properties

    Methods

    Properties

    uploadId: string

    The service-generated upload id (authoritative; scoped to the napplet).

    windowId: string

    The napplet window that requested the upload.

    Methods

    • Push a status update (progress, or a transition to complete/failed). The service stamps uploadId and updatedAt before forwarding to the napplet as upload.status.changed, and records it as the latest tracked status.

      Parameters

      Returns void