// ets_tracing: off import type * as C from "../core.js" import * as OrDieWith from "./orDieWith.js" export function orDie_( self: C.Channel, err: E ): C.Channel { return OrDieWith.orDieWith_(self, (_) => err) } /** * @ets_data_first orDie_ */ export function orDie(err: E) { return ( self: C.Channel ) => orDie_(self, err) }