findCurrentEffectId
Walk up the context owner chain to find the nearest effect ID. Used to attribute reactive mutations to the effect that caused them.
import { findCurrentEffectId } from "@alloy-js/core";
function findCurrentEffectId(): number | undefined;Parameters
Section titled “Parameters”Returns
Section titled “Returns”number | undefined