Module

x/fresh/src/runtime/entrypoints/signals.ts>signal

The next-gen web framework.
Extremely Popular
Latest
function signal
import { signal } from "https://dotland.deno.dev/x/fresh@1.7.3/src/runtime/entrypoints/signals.ts";

Create a new plain signal.

Parameters

value: T

The initial value for the signal.

Returns

Signal<T>

A new signal.

Type Parameters

optional
T = undefined

Returns

Signal<T | undefined>
import signal
import { signal } from "https://dotland.deno.dev/x/fresh@1.7.3/src/runtime/entrypoints/signals.ts";