Expand description

Proxy for a Dart Completer.

Rust doesn’t have a direct access to a Dart Completer, but holds a Dart_PersistentHandle to the Completer instance. All manipulations happen on the Dart side.

Dart side must register these function during the FFI initialization phase: after Dart DL API is initialized and before any other exported Rust function is called.

Structs

Functions