Skip to content

Commit adf6ec3

Browse files
mention alternative names
1 parent 78ba7ea commit adf6ec3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
JavaScript Concurrency Control Proposal
22
=======================================
33

4-
Stage: 0
4+
**Stage:** 0
55

6-
Champions: Michael Ficarra, Luca Casonato
6+
**Champions:** Michael Ficarra, Luca Casonato
77

8-
Authors: Michael Ficarra, Luca Casonato, Kevin Gibbons
8+
**Authors:** Michael Ficarra, Luca Casonato, Kevin Gibbons
99

1010
This proposal aims to provide a mechanism for describing a desired amount of concurrency and a coordination mechanism to achieve it. This could be for limiting concurrent access to a shared resource or for setting a target concurrency for an otherwise unbounded workload.
1111

@@ -75,6 +75,7 @@ Similarly, `wrapIterator(it: Iterator<T> | AsyncIterator<T>): AsyncIterator<T>`
7575
- takes an `acquire: () => Promise<GovernorToken>` function
7676
- also takes a `tryAcquire` function?
7777
- easy enough to live without it
78+
- alternative name: Regulator?
7879

7980
### Semaphore
8081

@@ -90,6 +91,7 @@ Semaphore is a [counting semaphore](https://en.wikipedia.org/wiki/Semaphore_%28p
9091
- `removeIdleListener(cb: () => void): void`
9192
- callback interface or EventTarget?
9293
- are there concerns about sharing Semaphores across Agents?
94+
- alternative name: CountingGovernor? CountingRegulator?
9395

9496
### AsyncIterator.prototype integration
9597

0 commit comments

Comments
 (0)