summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-11-08 16:12:55 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-11-08 20:40:52 +1300
commitafe3cb782bbdb5ef38c865b1c857e6cd9083e978 (patch)
treec7a91dd64a8e0138a345b27b818dcb5d872cc1a6
parent2f12af42f7f26d570219b87a89294532a86a8ae2 (diff)
`Fiber.new(blocking: false)` is now the default.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3743
-rw-r--r--doc/scheduler.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/scheduler.md b/doc/scheduler.md
index 19b44eede5..9994831663 100644
--- a/doc/scheduler.md
+++ b/doc/scheduler.md
@@ -73,7 +73,7 @@ program.
Fibers can be used to create non-blocking execution contexts.
~~~ ruby
-Fiber.new(blocking: false) do
+Fiber.new do
puts Fiber.current.blocking? # false
# May invoke `Fiber.scheduler&.io_wait`.