watchPostEffect function

WatchHandle watchPostEffect(
  1. EffectFn effect
)

Alias for watchEffect with flush: FlushMode.post.

The effect will run after all pre-flush effects have completed.

Implementation

WatchHandle watchPostEffect(EffectFn effect) {
  return watchEffect(
    effect,
    options: const WatchOptions(flush: FlushMode.post),
  );
}