@rimbu/channelChannel (namespace)Channel.ConfigOn this pageinterface Channel.ConfigThe configuration options for creating a Channel.PropertiescapacityTha channel capacity, indicating the amount of messages a channel will buffer before sending to the channel will block.Definitioncapacity?: number | undefined;validatorA validation function that is used when sending values. If the provided value returns true, the value is valid and will be sent. If the value is false, an exception will be thrown.Definitionvalidator?: ((value: any) => boolean) | undefined;