sourceToPin() function
Signature:
export declare function sourceToPin<Pins extends string>(source: string, pin: Pins): (streams: StreamMetadata[]) => PinToKey<Pins>;
Parameters
Parameter | Type | Description |
---|---|---|
source |
string |
|
pin |
Pins |
Returns:
(streams: StreamMetadata[]) ⇒ PinToKey<Pins>