Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak/structured_clone.ts>cloneState

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
function cloneState
import { cloneState } from "https://deno.land/x/oak@v13.0.1/structured_clone.ts";

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

Type Parameters

S extends Record<string, any>