Skip to content

createGate

function createGate(max): Gate;

Defined in: core/src/gate.ts:54

A gate with max slots. Keep one alive per connection, so every call on it shares the count.

Parameter Type
max number

Gate