Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/daemon/realtime/object.ts>DaemonRealtimeState

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
class DaemonRealtimeState
implements RealtimeState
import { DaemonRealtimeState } from "https://deno.land/x/live@1.75.5/daemon/realtime/object.ts";

Constructors

new
DaemonRealtimeState(options: DaemonRealtimeStateOptions)

Type Parameters

optional
T = unknown

Properties

private
blockConcurrencyWhilePromise: Promise<T> | undefined
storage: RealtimeStorage

Methods

blockConcurrencyWhile(cb: () => Promise<T>): Promise<T>
persist(outfile: string, isEnvironmentPersistence?: boolean)
persistNext(commitSha: string)