Start rewriting backend with pyotherside+asyncio

This commit is contained in:
miruka
2019-06-27 02:31:03 -04:00
parent f530f51937
commit 3344debbbf
128 changed files with 715 additions and 2941 deletions

View File

@@ -0,0 +1,2 @@
// FIXME: Obsolete method, but need Qt 5.12+ for standard JS modules import
Qt.include("system.js")

View File

@@ -0,0 +1,8 @@
function onAppExitRequested(exit_code) {
Qt.exit(exit_code)
}
function onCoroutineDone(uuid, result) {
py.pendingCoroutines[uuid](result)
delete pendingCoroutines[uuid]
}