On this pageHome > flowp > Semaphore > (constructor) Semaphore.(constructor) constructs a new Semaphore with n permits Signature: constructor(permits?: number); Parameters ParameterTypeDescriptionpermitsnumbernumber of permits