resume

fiber.resume(args, ...) รข obj
Instance Public methods

Resumes the fiber from the point at which the last Fiber.yield was called, or starts running it if it is the first call to resume. Arguments passed to resume will be the value of the Fiber.yield expression or will be passed as block parameters to the fiber's block if this is the first resume.

Alternatively, when resume is called it evaluates to the arguments passed to the next Fiber.yield statement inside the fiber's block or to the block value if it runs to completion without any Fiber.yield

doc_ruby_on_rails
2015-04-05 19:07:13
Comments
Leave a Comment

Please login to continue.