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

x/earthstar/src/syncer/bumping_timeout.ts>BumpingTimeout

Storage for private, distributed, offline-first applications.
Go to Latest
class BumpingTimeout
import { BumpingTimeout } from "https://deno.land/x/earthstar@v10.2.0/src/syncer/bumping_timeout.ts";

A timeout which can be 'bumped' manually, restarting the timer.

Constructors

new
BumpingTimeout(cb: () => void, ms: number)

Properties

private
cb: () => void
private
closed: boolean
private
ms: number
private
timeout: number