avToPin() function

Signature:

export declare function avToPin<Pins extends string>(pin: Pins): (streams: StreamMetadata[]) => PinToKey<Pins>;

Parameters

Parameter Type Description

pin

Pins

Returns:

(streams: StreamMetadata[]) ⇒ PinToKey<Pins>