Method
wsHandlerMixin
(MixinClass: Partial<ConnectionHandler> | ((s: ConnectionHandler) => Partial<ConnectionHandler>))
Source from the content-addressed store, hash-verified
| 901 | } |
| 902 | |
| 903 | public wsHandlerMixin(MixinClass: Partial<ConnectionHandler> | ((s: ConnectionHandler) => Partial<ConnectionHandler>)) { |
| 904 | return this._applyMixin(ConnectionHandler, MixinClass); |
| 905 | } |
| 906 | |
| 907 | public registerRenderer(name: string, func: Renderer) { |
| 908 | if (this.renderers[name]) logger.warn('Renderer %s already exists.', name); |
Tested by
no test coverage detected