@rendley/sdk - v1.15.19
    Preparing search index...

    Interface MediaHashJob

    Handle returned for an enqueued hash request.

    interface MediaHashJob {
        cancel: () => void;
        promise: Promise<null | string>;
    }
    Index

    Properties

    Properties

    cancel: () => void

    Cancels the job: a queued job is skipped, a running job has its result discarded.

    promise: Promise<null | string>

    Resolves to the hash, or null when the job was cancelled or the worker could not hash the media.