Home
last modified time | relevance | path

Searched refs:isCanceled (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/test/unittest/task_signal/
H A Dtask_signal_test.cpp88 auto isCanceled = signal->IsCanceled(); variable
89 EXPECT_TRUE(!isCanceled);
93 isCanceled = signal->IsCanceled();
94 EXPECT_TRUE(isCanceled);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_trans_lane.h41 bool isCanceled; member
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-taskpool.md605 if (taskpool.Task.isCanceled()) {
615 if (taskpool.Task.isCanceled()) {
968 ### isCanceled<sup>10+</sup>
970 static isCanceled(): boolean
1002 > isCanceled方法需要和taskpool.cancel方法搭配使用,如果不调用cancel方法,isCanceled方法默认返回false。
1010 if (taskpool.Task.isCanceled()) {
1020 if (taskpool.Task.isCanceled()) {
2379 if (taskpool.Task.isCanceled()) {
2389 if (taskpool.Task.isCanceled()) {
2423 if (taskpool.Task.isCanceled()) {
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_trans_lane.c333 newNode->isCanceled = false; in CreateRequestNode()
384 newNode->isCanceled = false; in CreateReqNodeWithQos()
842 item->isCanceled = true; in CancelLane()
965 if (item->isWithQos && !item->isCanceled) { in UpdateReqInfoWithLaneReqId()
994 if (reqInfo.isCanceled) { in NotifyLaneAllocSuccess()
1022 if (reqInfo.isWithQos && reqInfo.isCanceled) { in NotifyLaneAllocFail()
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-taskpool.md608 if (taskpool.Task.isCanceled()) {
618 if (taskpool.Task.isCanceled()) {
971 ### isCanceled<sup>10+</sup>
973 static isCanceled(): boolean
993 if (taskpool.Task.isCanceled()) {
1013 if (taskpool.Task.isCanceled()) {
1023 if (taskpool.Task.isCanceled()) {
2383 if (taskpool.Task.isCanceled()) {
2393 if (taskpool.Task.isCanceled()) {
2427 if (taskpool.Task.isCanceled()) {
[all …]
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask.cpp390 bool isCanceled = false; in IsCanceled() local
394 return NapiHelper::CreateBooleanValue(env, isCanceled); in IsCanceled()
402 isCanceled = task->taskState_ == ExecuteState::CANCELED ? true : false; in IsCanceled()
404 return NapiHelper::CreateBooleanValue(env, isCanceled); in IsCanceled()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-compiler-and-runtime.md9 |新增|NA|类名:Task;<br>方法or属性:static isCanceled(): boolean;|@ohos.taskpool.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-compiler-and-runtime.md9 |Added|NA|Class name: Task;<br>Method or attribute name: static isCanceled(): boolean;|@ohos.taskpo…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-compiler-and-runtime.md23 |新增|NA|类名:Task;<br>方法or属性:static isCanceled(): boolean;|@ohos.taskpool.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-compiler-and-runtime.md23 |Added|NA|Class name: Task;<br>Method or attribute name: static isCanceled(): boolean;|@ohos.taskpo…