Skip to content

ComputedFactory type

Home > @rimitive/signals > ComputedFactory

Computed factory function type - creates computed values from computation functions

Signature:

export type ComputedFactory = <T>(compute: () => T) => ComputedFunction<T>;

References: ComputedFunction