awscdk-construct-pipeline-pause-scheduler
Version:
CDK Construct for toggling MediaLive pipeline pause/unpause
9 lines (8 loc) • 304 B
TypeScript
/**
* @internal
* @param stream
* @param bytes - read head bytes from the stream and discard the rest of it.
*
* Caution: the input stream must be destroyed separately, this function does not do so.
*/
export declare function headStream(stream: ReadableStream, bytes: number): Promise<Uint8Array>;