Skip to main content

UrlStateControls

What the url contract needs besides the port itself.

This is an interface exported by @mapcairn/core/contracts, checked against version 0.2.0.

Signature​

import type { UrlStateControls } from "@mapcairn/core/contracts";

interface UrlStateControls

Methods​

settle​

settle(): Promise<void>;

Waits until pending writes have reached the address. A real adapter debounces writes, so it flushes here; a fake does nothing.

Source: packages/core/src/contracts/urlState.contract.ts:8