Repository navigation
v0.13.0-alpha
Pre-release
Pre-release
This is an alpha release that concurrently resolves native promises and guarantees ordered execution of bind -> eval -> unbind operations.
Added
- Concurrent daemonised execution of bound functions. Users no longer have to manage threads in bound callbacks to prevent UI / app freezes
- The WEBVIEW_UNBIND_TIMEOUT compiler option, which sets a timeout for
unbindto allow boundevalfunctions to complete (40ms default).
Fixed
bind->eval->unbindwill allow WEBVIEW_UNBIND_TIMEOUT for promise resolution instead of silently failing.evalwill wait forbindto complete so that included bound function calls do not silently fail.- User API instructions will queue until the DOM is ready instead of silently failing.
- JS promises are no longer left indefinitely in a waiting state if errors occur natively or bindings are unbound.
Deprecated / Removed
- The synchronous
bindsignature is deprecated and stubbed. Legacy user code will compile and run, but synchronous bind is a now a no-op.