P2P Media Loader Documentation
    Preparing search index...

    Type Alias EngineCallbacks

    Callbacks for handling the success or failure of an engine operation.

    type EngineCallbacks = {
        onSuccess: (response: SegmentResponse) => void;
        onError: (reason: CoreRequestError) => void;
    }
    Index

    Properties

    Properties

    onSuccess: (response: SegmentResponse) => void

    Called when the operation is successful.

    Type Declaration

    onError: (reason: CoreRequestError) => void

    Called when the operation encounters an error.

    Type Declaration