UNPKG

zpubsub

Version:

A javascript implementation of a publish/subscribe pattern.

17 lines (16 loc) 456 B
/** * Represents an implementation of the IZPubSubEventObject. * * @this {ZPubSubEventObject} */ export declare class ZPubSubEventObject { owner: any; callback: () => any; /** * Initializes a new instance of this object. * * @param {Object} owner The owner of the event. * @param {Function} callback The callback for when the event is invoked. */ constructor(owner: any, callback: () => any); }