Pulse
Type. Named pulse-store operation.
Table of contents
Category
Type
Type import
tsimport type { Pulse } from "valyrian.js/pulses";Public signature
tstype Pulse<StateType, TReturn = unknown> = (state: StateType, ...args: any[]) => TReturn | Promise<TReturn>;Type usage
Pulse describes a named store operation. TReturn defaults to unknown and may be returned directly or through a promise.