Interface: IEvent <T, U>
An event that can be listened to.
Type parameters
▪ T
▪ U
Hierarchy
- IEvent
Callable
▸ (listener
: function): IDisposable
Defined in xterm.d.ts:461
An event that can be listened to.
Parameters:
▪ listener: function
▸ (arg1
: T, arg2
: U): any
Parameters:
Name | Type |
---|---|
arg1 |
T |
arg2 |
U |
Returns: IDisposable
an IDisposable
to stop listening.