Skip to documentation
SLOP

tiny.mprompt.operation

Reference tiny.mprompt operation

Defined in effect.

Returns the signature of one operation with argument type Arg and result type Result, so a caller writes one per field of an EffectDefinition spec's .operations.

No direct callersNo direct callseffectoperation
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/mprompt/src/effect.zig:195

zig
/// Returns the signature of one operation with argument type `Arg` and result type `Result`, so a/// caller writes one per field of an `EffectDefinition` spec's `.operations`.pub fn operation(comptime Arg: type, comptime Result: type) OperationSignature {    return .{ .Arg = Arg, .Result = Result };}

Source: lib/mprompt/src/root.zig:68

zig
pub const operation = effect.operation;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433