Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh_store/mod.ts>StoreStack#addStore

Simple store for Deno Fresh, to pass state between islands
Go to Latest
method StoreStack.prototype.addStore
import { StoreStack } from "https://deno.land/x/fresh_store@v1.0.1/mod.ts";

Adds a store to the memory stack and assigns it a pointer.

Parameters

newItem: AnyStore

The Store to be added to the stack.

Returns

The Pointer to the allocated memory for the store.