Skip to content

Conversation

@arran4
Copy link

@arran4 arran4 commented Jan 23, 2026

Hey I needed this for another project, however I feel I can work around with with exitFunction (which I missed existed.)

I was tempted to write:

        Future<bool?> Function()? exitFunction,

///.....
      return await (exitFunction?.call() ?? Future.value(exit(0))) ?? fakse;

But that might be a bit much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant