@rimbu/channelSemaphore (namespace)Semaphore.ConstructorsOn this pageinterface Semaphore.ConstructorsDefines the static Semaphore API.PropertiesErrorReturns the available Semaphore errors and utilities.Definitionget Error(): typeof SemaphoreError;MethodscreateReturns a new Semaphore instance with the given configuration.Definitioncreate(options: { maxSize: number; }): Semaphore;ParametersNameTypeDescriptionoptions{ maxSize: number; }the options for the Semaphore, including: - maxSize: the maximum size/capacity for the semaphore