Lens Scripting API

    Represents the public api of an event.

    interface PublicApi<Arg> {
        add(cb: callback<Arg>): unsubscribe;
        remove(cb: callback<Arg>): void;
        (cb: callback<Arg>): unsubscribe;
    }

    Type Parameters

    • Arg
    Index

    Methods

    Methods

    MMNEPVFCICPMFPCPTTAAATR