streamly
streamly copied to clipboard
Return a release action in the resource cleanup registration function
In cleanupIO and cleanupEffectIO - the cleanup registration function can return a release action. When the release action is called it will release the resource and remove the entry from being called automatically later.