kaios-types
    Preparing search index...

    Interface ActivityRequestHandler

    Handles incoming activity requests.

    Preference: "dom.sysmsg.enabled"

    interface ActivityRequestHandler {
        source: ActivityOptions;
        postError(error: string): void;
        postResult(result: any): void;
    }
    Index

    Properties

    Methods

    Properties

    The options that initiated this activity request.

    Methods

    • Sends an error back to the caller.

      Parameters

      • error: string

        The error message or object.

      Returns void

      UnsafeInPrerendering

    • Sends a success result back to the caller.

      Parameters

      • result: any

        The result to return.

      Returns void

      UnsafeInPrerendering