fn valueOf
Type witness: the value type of a chain, without evaluating it (the generated code never calls it).
Example:
use std.saga
fn typeOnly(t: Task<i64, ()>) -> i64 {
saga.valueOf(t)
}pub(api) fn valueOf<V, E>(t: Task<V, E>) -> VSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
t | Task<V, E> |
Returns
V
Effects
none declared (pure unless the body says otherwise)
Defined in: std/saga/saga.oxl:1184