Future<void> setPreferableTargetAsync(int targetId) async { await cvRunAsync0<void>( (callback) => cffi.Net_SetPreferableTarget_Async(ref, targetId, callback), (c) => c.complete(), ); }