getRunDepth function

int getRunDepth()

Returns how many effects are currently executing.

The depth increases while an effect body runs and is used to classify writes as inner or outer during propagation.

Implementation

int getRunDepth() => runDepth;