trashposs/packages/trashposs-js/markdown/trashposs-js.stream._constructor_.md
2024-04-06 22:57:52 +02:00

685 B

Home > trashposs-js > Stream > (constructor)

Stream.(constructor)

Constructs a new instance of the Stream class

Signature:

constructor(
		origin: string,
		user: {
			token: string;
		} | null,
		options?: {
			WebSocket?: any;
		},
	);

Parameters

Parameter Type Description
origin string
user { token: string; } | null
options { WebSocket?: any; } (Optional)