This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
Add missing API
Implements following API:
addEventListener( event: string, fn: Function ) : this;
alias toon()
removeListener( event: string, fn?: Function ) : this;
alias tooff()
removeEventListener( event: string, fn?: Function ) : this;
alias tooff()
removeAllListeners() : this;
open()
alias toconnect()
close()
alias todisconnect()
readonly disconnected: boolean;
inverse ofconnected
Thanks to @lfabreges