mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-03-22 04:06:18 +00:00
Break API calls in work towards moving all blocking io to ractors, dropped BackgroundWorker class
This commit is contained in:
@@ -16,6 +16,7 @@ class W3DHub
|
||||
].freeze
|
||||
|
||||
def self.on_thread(method, *args, &callback)
|
||||
raise "Renew."
|
||||
BackgroundWorker.foreground_job(-> { Api.send(method, *args) }, callback)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user