Skip to main content
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.5.0/structured_clone.ts";

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

Type Parameters

S extends Record<string, any>