Interface AppEventSubscription

interface AppEventSubscription {
    functions?: {
        filter?: Link<"Function">;
        handler?: Link<"Function">;
        transformation?: Link<"Function">;
    };
    sys: AppEventSubscriptionSys;
    targetUrl?: string;
    topics: string[];
    delete(): Promise<void>;
    toPlainObject(): AppEventSubscriptionProps;
}

Hierarchy (view full)

Properties

functions?: {
    filter?: Link<"Function">;
    handler?: Link<"Function">;
    transformation?: Link<"Function">;
}

Optional filter, transformation, or handler function

sys: AppEventSubscriptionSys

System metadata

targetUrl?: string

Subscription url that will receive events

topics: string[]

List of topics to subscribe to

Methods

  • Deletes this object on the server.

    Returns Promise<void>

    Promise for the deletion. It contains no data, but the Promise error case should be handled.