Skip to content
Edit this page

ComputedAsyncOptions Type documentation

TypeScript declaration

import type { ComputedAsyncOptions } from '@siemens/element-ng/markdown';

Options for computedAsync()

Properties
  • Computation function. This is untracked(), params from the params function are passed

    computation : (params: R) => Promise<T>

  • Initial value of the computedAsync signal.

    initial : T

  • Params function, params will be passed to the computation function. This is tracked.

    params : () => R


Except where otherwise noted, content on this site is licensed under MIT License.