We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 595865d commit 1d52625Copy full SHA for 1d52625
threading/channels.nim
@@ -31,8 +31,8 @@
31
## procs. Send operations add messages to the channel, receiving operations
32
## remove them.
33
##
34
-## Overwrite enables a ringbuffer mode where `send` overwrites the oldest message
35
-## if the channel is full.
+## Normally, the `send` proc will block if the channel is full. If the `overwrite`
+## parameter is set to `true`, the oldest message will be overwritten instead of blocking.
36
37
## See also:
38
## * [std/isolation](https://nim-lang.org/docs/isolation.html)
0 commit comments