没有合适的资源?快使用搜索试试~ 我知道了~
worker_manager
共87个文件
png:23个
dart:14个
properties:6个
需积分: 28 0 下载量 29 浏览量
2021-04-29
05:39:28
上传
评论
收藏 102KB ZIP 举报
温馨提示
执行者 ##安全性将与金属垃圾修复一起提供 Executor是一个库,用于在单独的Dart隔离中运行CPU密集型功能。 如果要避免在主要隔离渲染UI时跳过帧,这将很有用。 由于隔离能够在创建主线程时运行,因此请确保添加到Executor任务队列中的函数是静态的或全局定义的(仅在dart文件中,而不在类内部)。 注意 Executor-是一个Singleton ,表示只有一个Executor实例。 用法 第一步:初始化执行器(基于可用处理器号的初始化流程)。 在main函数中编写以下代码(确保您的main是异步的): void main () async { await Executor (). warmUp (); //Your code down below } 第二步:使用args和函数调用execute方法,Executor返回Cancelable。 final some
资源推荐
资源详情
资源评论
收起资源包目录
worker_manager-master.zip (87个子文件)
worker_manager-master
.gitignore 1KB
pubspec.lock 8KB
pubspec.yaml 315B
README.md 2KB
CHANGELOG.md 1KB
test
tests.dart 4KB
.metadata 309B
analysis_options.yaml 48B
LICENSE 1KB
.gradle
configuration-cache
gc.properties 0B
checksums
checksums.lock 17B
vcs-1
gc.properties 0B
buildOutputCleanup
cache.properties 49B
buildOutputCleanup.lock 17B
6.7
fileChanges
last-build.bin 1B
gc.properties 0B
fileHashes
fileHashes.lock 17B
p.sh 208B
example
ios
Runner
AppDelegate.swift 403B
Base.lproj
Main.storyboard 2KB
LaunchScreen.storyboard 2KB
Assets.xcassets
LaunchImage.imageset
README.md 336B
Contents.json 391B
LaunchImage@3x.png 68B
LaunchImage@2x.png 68B
LaunchImage.png 68B
AppIcon.appiconset
Icon-App-60x60@2x.png 3KB
Icon-App-20x20@3x.png 2KB
Icon-App-40x40@1x.png 1KB
Icon-App-29x29@1x.png 1KB
Icon-App-20x20@2x.png 1KB
Icon-App-1024x1024@1x.png 11KB
Contents.json 2KB
Icon-App-29x29@3x.png 2KB
Icon-App-40x40@2x.png 2KB
Icon-App-20x20@1x.png 564B
Icon-App-76x76@1x.png 2KB
Icon-App-83.5x83.5@2x.png 4KB
Icon-App-60x60@3x.png 4KB
Icon-App-76x76@2x.png 3KB
Icon-App-29x29@2x.png 2KB
Icon-App-40x40@3x.png 3KB
Info.plist 1KB
Runner-Bridging-Header.h 37B
Flutter
flutter_export_environment.sh 662B
AppFrameworkInfo.plist 794B
Debug.xcconfig 30B
Release.xcconfig 30B
Runner.xcodeproj
project.xcworkspace
contents.xcworkspacedata 152B
project.pbxproj 21KB
xcshareddata
xcschemes
Runner.xcscheme 3KB
Runner.xcworkspace
contents.xcworkspacedata 152B
.gitignore 1KB
pubspec.lock 3KB
pubspec.yaml 3KB
README.md 4KB
android
gradle
wrapper
gradle-wrapper.properties 234B
build.gradle 582B
app
build.gradle 2KB
src
main
AndroidManifest.xml 2KB
res
values
styles.xml 361B
mipmap-xxhdpi
ic_launcher.png 1KB
mipmap-xhdpi
ic_launcher.png 721B
mipmap-hdpi
ic_launcher.png 544B
drawable
launch_background.xml 434B
mipmap-mdpi
ic_launcher.png 442B
mipmap-xxxhdpi
ic_launcher.png 1KB
kotlin
com
renesanse
example
MainActivity.kt 337B
profile
AndroidManifest.xml 329B
debug
AndroidManifest.xml 329B
gradle.properties 105B
settings.gradle 484B
test
widget_test.dart 372B
.metadata 305B
lib
main.dart 3KB
images
logo2.jpg 9KB
lib
worker_manager.dart 369B
src
executor.dart 5KB
task.dart 539B
work_priority.dart 102B
number_of_processors
processors_web.dart 108B
processors_io.dart 78B
cancelable.dart 3KB
runnable.dart 1KB
isolate_wrapper
isolate_wrapper.dart 553B
isolate_wrapper_io.dart 2KB
isolate_wrapper_web.dart 759B
共 87 条
- 1
资源评论
善音
- 粉丝: 21
- 资源: 4611
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功