x/oak/utils/clone_state.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
function cloneState
import { cloneState } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/utils/clone_state.ts?s=cloneState";

Clones a state object, skipping any values that cannot be cloned.

Type Parameters

S extends Record<string, any>[src]