mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-14 07:11:04 +08:00

The intent of this is to encourage plugins to execute synchronously when appropriate by not defaulting to using a background thread. This will also encourage plugins that do run asynchronously to run some of its logic synchronously before dispatching to a background thread. This is required for tasks that can be abort()ed, such as FileTransfer. (CB-1532) This also makes it possible to lazily parse the JSON args, which is important for large payloads. (CB-1530)