Skip to main content
Version: v1

ISharedCounterEvents Interface

Events sent by SharedCounters.

Signature

export interface ISharedCounterEvents extends ISharedObjectEvents

Extends: ISharedObjectEvents

Call Signatures

CallSignature Description
(event: "incremented", listener: (incrementAmount: number, newValue: number) => void): any This event is raised when the counter is incremented or decremented.

Call Signature Details

(event: "incremented", listener: (incrementAmount: number, newValue: number) => void): any

This event is raised when the counter is incremented or decremented.

Signature

(event: "incremented", listener: (incrementAmount: number, newValue: number) => void): any;