Skip to content

docs: fix const reassignment in pool event examples - #3832

Merged
charmander merged 1 commit into
brianc:masterfrom
rajkamal01:patch-1
Oct 23, 2026
Merged

charmander merged 1 commit into
brianc:masterfrom
rajkamal01:patch-1

Conversation

@rajkamal01

Copy link
Copy Markdown
Contributor

The connect and acquire event examples declare counters with const and then increment them, which throws "TypeError: Assignment to constant variable". Changed them to let.

The connect and acquire event examples declare counters with const and
then increment them, which throws "TypeError: Assignment to constant
variable". Changed them to let.
@charmander
charmander merged commit 2a5850f into brianc:master Oct 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants