Dispose typedef

Dispose = void Function()

A cleanup callback returned by a SproutContext.useEffect effect, run before the effect re-runs and on unmount.

Implementation

typedef Dispose = void Function();