Skip to main content
Module

x/live/deps.ts>ObservableResult

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
interface ObservableResult
import { type ObservableResult } from "https://deno.land/x/live@1.48.5/deps.ts";

Interface that is being used in callback function for Observable Metric.

Type Parameters

optional
AttributesTypes extends MetricAttributes = MetricAttributes

Methods

observe(
value: number,
attributes?: AttributesTypes,
): void

Observe a measurement of the value associated with the given attributes.