-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffi
Description
Update Sept 6, 2023: Asynchronous callbacks with void returns can now be done with NativeCallable.listener
from Dart 3.1.
Update March 12, 2020: Asynchronous callbacks can be done through the native ports mechanism. See the samples in samples/ffi/async and corresponding c code. In the future we would like to add a more concise syntax that requires less boilerplate code.
An asynchronous callback can be invoked outside the parent isolate and schedules a microtask there.
simc, RicCu, azilvl, mono0926, vovahost and 185 moredevxpy, ninest, erabti, nickreynke, fzyzcjy and 10 moredevxpy, erabti, fzyzcjy, definev, vaind and 10 more
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffi