import { lift } from "https://deno.land/x/effection@3.0.0-beta.3/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");
}