We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use the @vk-io/streaming.StreamingAPI function in @vk-io/streaming

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 3 years ago

Package Health Score

55 / 100
Full package analysis

Popular @vk-io/streaming functions