Lines Matching refs:deferred
127 napi_deferred deferred; member
427 if (w->deferred) { in jn_work_destroy()
429 napi_reject_deferred(env, w->deferred, jn_undefined(env)); in jn_work_destroy()
576 if (!work->deferred) { in jn_resolve_pending_errors()
587 napi_reject_deferred(env, work->deferred, ex); in jn_resolve_pending_errors()
600 napi_reject_deferred(env, work->deferred, verr); in jn_resolve_pending_errors()
603 work->deferred = 0; in jn_resolve_pending_errors()
622 JNGO(ns, env, napi_create_promise(env, &work->deferred, &promise), finish); in jn_launch_promise()
653 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_open_complete()
654 work->deferred = 0; in jn_open_complete()
688 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_close_complete()
689 work->deferred = 0; in jn_close_complete()
759 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, rv), finish); in jn_put_complete()
760 work->deferred = 0; in jn_put_complete()
862 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, rv), finish0); in jn_get_complete()
863 work->deferred = 0; in jn_get_complete()
931 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_del_complete()
932 work->deferred = 0; in jn_del_complete()
997 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_rename_collection_complete()
998 work->deferred = 0; in jn_rename_collection_complete()
1072 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, rv), finish0); in jn_info_complete()
1073 work->deferred = 0; in jn_info_complete()
1141 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_index_complete()
1142 work->deferred = 0; in jn_index_complete()
1210 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_rmcoll_complete()
1211 work->deferred = 0; in jn_rmcoll_complete()
1281 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, rv), finish); in jn_online_backup_complete()
1282 work->deferred = 0; in jn_online_backup_complete()
1693 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_jql_stream_complete()
1694 work->deferred = 0; in jn_jql_stream_complete()