In a server-side VM application with several futures that may or may not be returned. How to unconditionally exit the application?
To exit the virtual machine:
import 'dart:io'; main() { exit(0); // or non-zero for some error code }
What is described here . Thank you for asking!
Source: https://habr.com/ru/post/916416/More articles:Why don't Chrome exceptions for third-party cookies work (makes Disqus inability to use)? - google-chromeHow does Google Doodle celebrate Robert Mogog, generate sounds? - javascriptHow to make `git log --stat - ` show * all * files in selected commits? - gitPHP substring and weird html display icon - stringjQuery disable and enable scrolling - jqueryWhat are the return codes for the Dart pub tool - dartHow to make Twitter Bootstrap dropdown selection form - twitter-bootstrapMondump and Mongorestor; field not found - databasePairing content on an external website with records in mySQL database - mysqlPlease update your Subversion client ... How? - eclipseAll Articles