fast reactive signals jsr.io/@mary/signals
typescript jsr
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: mark eval_listener as internal

Mary 96955bdf da75d100

+7 -1
+7 -1
mod.ts
··· 10 10 11 11 type Computation = Computed<any> | Effect<any>; 12 12 13 - /** currently evaluating listener */ 13 + /** @internal currently evaluating listener */ 14 14 export let eval_listener: Computation | undefined; 15 15 16 16 /** pointer for checking existing dependencies in a context */ ··· 585 585 586 586 type NoInfer<T extends any> = [T][T extends any ? 0 : never]; 587 587 588 + /** 589 + * The compute function itself. 590 + */ 588 591 export type ComputedFunction<Prev, Next extends Prev = Prev> = (v: Prev) => Next; 589 592 590 593 /** ··· 605 608 return new Computed(fn, value); 606 609 } 607 610 611 + /** 612 + * The effect function itself. 613 + */ 608 614 export type EffectFunction<Prev, Next extends Prev = Prev> = (v: Prev) => Next; 609 615 610 616 /**