Lens Scripting API
    Preparing search index...

    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