1
0
Fork 1
mirror of https://example.com synced 2024-11-27 17:36:45 +09:00
firefish/packages/calckey-js/markdown/calckey-js.stream.usechannel.md
ThatOneCalculator 6da5a5b89b
find and replace
2023-07-02 15:18:30 -07:00

807 B

Home > firefish-js > Stream > useChannel

Stream.useChannel() method

Signature:

useChannel<C extends keyof Channels>(
		channel: C,
		params?: Channels[C]["params"],
		name?: string,
	): Connection<Channels[C]>;

Parameters

Parameter Type Description
channel C
params Channels[C]["params"] (Optional)
name string (Optional)

Returns:

Connection<Channels[C]>