tiny.mprompt.resumeDrop
Defined in tiny.mprompt.
Gives up the handle without resuming, for a caller that abandons suspended code it will not continue.
Source
Source: lib/mprompt/src/prompt.zig:613
zig
/// Gives up the handle without resuming, for a caller that abandons suspended code it will not/// continue. For a one-shot handle, or the last reference of a multi-shot handle, the call frees/// the stacklets captured with it, and their frames never run again, `defer` statements included.pub fn resumeDrop(resume_ptr: *Resume) void { if (resumeIsOnce(resume_ptr)) |p| { @branchHint(.likely); promptDrop(p); return; } else { @branchHint(.unlikely); mresumeDrop(resumeIsMulti(resume_ptr).?); }}Source: lib/mprompt/src/root.zig:88
zig
pub const resumeDrop = raw.resumeDrop;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |