import { lift } from "https://deno.land/x/effection@4.0.0-alpha.1/lib/lift.ts";
Convert a simple function into an Operation
Examples
Example 1
Example 1
let log = lift((message) => console.log(message));
export function* run() {
yield* log("hello world");
yield* log("done");
}