Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Feb 16:10
· 528 commits to master since this release
52d0255

Minor Changes

  • #24 ca35544 Thanks @charlypoly! - Introduce a new API to delay an execution:

    import { delay } from "@defer.run/client";
    import { helloWorld } from "../defer/helloWorld";
    
    // create a delayed execution
    const delayedHelloWorld = delay(helloWorld, "1h");
    
    delayedHelloWorld(); // background execution in 1 hour