Skip to content

v0.13.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@citkane citkane released this 19 Jun 14:40

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 unbind to allow bound eval functions to complete (40ms default).

Fixed

  • bind -> eval -> unbind will allow WEBVIEW_UNBIND_TIMEOUT for promise resolution instead of silently failing.
  • eval will wait for bind to 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 bind signature is deprecated and stubbed. Legacy user code will compile and run, but synchronous bind is a now a no-op.