ss="binding-type"><a href="https://github.com/janet-lang/janet/blob/b60ef68/src/core/ev.c#L2923">source</a></span> <pre class="binding-text">(ev/deadline sec &amp;opt tocancel tocheck)

Set a deadline for a fiber `tocheck`. If `tocheck` is not finished after `sec` seconds, `tocancel` will be canceled as with `ev/cancel`. If `tocancel` and `tocheck` are not given, they default to `(fiber/root)` and `(fiber/current)` respectively. Returns `tocancel`.</pre><a href="https://janetdocs.org/ev/deadline">Community 