Skip to main content
Module

x/capi/mod.ts>ValueRune#rehandle

[WIP] A framework for crafting interactions with Substrate chains
Latest
method ValueRune.prototype.rehandle
Re-export
import { ValueRune } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";

Type Parameters

U2 extends U

Parameters

guard: Guard<U, U2>

Returns

ValueRune<T | U2, Exclude<U, U2>>

Type Parameters

U2 extends U
T3
U3

Parameters

guard: Guard<U, U2>
alt: (rune: ValueRune<U2, never>) => Rune<T3, U3>

Returns

ValueRune<T | T3, Exclude<U, U2> | U3>