Skip to content

Document that fiber.yield and fiber.sleep may raise an exception #1364

@RunsFor

Description

@RunsFor

There is a frequent misunderstanding in tarantool community with how fiber.yield, fiber.testcancel and fiber.cancel works. I believe it happens, because documentation says nothing about yield and sleep may actually raise an exception. This may form wrong assumptions about how fiber model works.

I suggest add an "exception" section to yield and sleep functions documentation. Some examples would be nice to have.

Metadata

Metadata

Assignees

Labels

add details[nature] More details needed, some info missing. Documentation is incomplete.reference[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions