Running an Effect in the Background with Manual Exit and Finalizers

hi, how to run my effect in background till i manually exit it, i have another framework lifecycle, where i want to run some effect and when framework fires exit event then i want to exit/close the effect too and all finalizers in the effect should run
Was this page helpful?