Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public get streaming(): any {
if (!this[kStreaming]) {
showDeprecatedMessage('vk.streaming deprecated, use @vk-io/streaming instead');
// eslint-disable-next-line
this[kStreaming] = new (require('@vk-io/streaming').StreamingAPI)(this);
}
return this[kStreaming];
}