On this pageHome > flowp > Channel > (constructor) Channel.(constructor) create a new channel with specified capacity Signature: constructor(capacity?: number); Parameters ParameterTypeDescriptioncapacitynumberchannel capacity, defaults to Infinity Exceptions RangeError - capacity is negative or NaN