IEvent
ts
interface IEvent<T> ((listener, thisArg?) => IDisposable)
- 语法:
IEvent(listener, thisArg?): IDisposable
- 参数:
listener
:(event: T) => void
thisArg
:any
- 返回值:IDisposable
interface IEvent<T> ((listener, thisArg?) => IDisposable)
IEvent(listener, thisArg?): IDisposable
listener
: (event: T) => void
thisArg
: any