Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v12.1.0/structured_clone.ts";

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

Type Parameters

S extends Record<string, any>