import { Project } from "https://dotland.deno.dev/x/fresh@1.7.2/tests/deps.ts";
Forgets the nodes created in the scope of the passed in block.
This is an advanced method that can be used to easily "forget" all the nodes created within the scope of the block.
Parameters
block: (remember: (...node: Node[]) => void) => T
- Block of code to run. Use the
remember
callback or return a node to remember it.
Forgets the nodes created in the scope of the passed in block asynchronously.
This is an advanced method that can be used to easily "forget" all the nodes created within the scope of the block.
Parameters
block: (remember: (...node: Node[]) => void) => Promise<T>
- Block of code to run. Use the
remember
callback or return a node to remember it.