How to use @vk-io/streaming - 1 common examples

To help you get started, we’ve selected a few @vk-io/streaming examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github negezor / vk-io / packages / vk-io / src / vk.ts View on Github external
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];
	}

@vk-io/streaming

Separated module for receiving data with Streaming API

MIT
Latest version published 1 year ago

Package Health Score

61 / 100
Full package analysis

Popular @vk-io/streaming functions