Skip to main content

Module worker

Module worker 

Source
Expand description

A framework-agnostic, threaded license worker for immediate-mode GUIs (egui, Slint, …) and CLIs — anything with an update/poll loop and no async runtime. It runs the blocking check off the UI thread on a std::thread and surfaces status + progress through poll, which you call once per frame.

This is the non-Bevy counterpart to [crate::adapters::bevy]: same core engine, no framework dependency at all (just std).

Structs§

LicenseWorker
Owns the persisted license state plus an optional background check. Drive it from your UI loop: call poll every frame, read status / unlocked / log, and trigger work with activate.