| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e0a7634 commit 1bc0c1f
21 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,20 +7,21 @@ const errors = require('internal/errors'); | |||
| 7 | 7 | * Environment::AsyncHooks::fields_[]. Each index tracks the number of active | |
| 8 | 8 | * hooks for each type. | |
| 9 | 9 | * | |
| 10 | - * async_uid_fields is a Float64Array wrapping the double array of | ||
| 10 | + * async_id_fields is a Float64Array wrapping the double array of | ||
| 11 | 11 | * Environment::AsyncHooks::uid_fields_[]. Each index contains the ids for the | |
| 12 | 12 | * various asynchronous states of the application. These are: | |
| 13 | - * kCurrentAsyncId: The async_id assigned to the resource responsible for the | ||
| 13 | + * kExecutionAsyncId: The async_id assigned to the resource responsible for the | ||
| 14 | 14 | * current execution stack. | |
| 15 | - * kCurrentTriggerId: The trigger_async_id of the resource responsible for the | ||
| 16 | - * current execution stack. | ||
| 17 | - * kAsyncUidCntr: Incremental counter tracking the next assigned async_id. | ||
| 18 | - * kInitTriggerId: Written immediately before a resource's constructor that | ||
| 19 | - * sets the value of the init()'s triggerAsyncId. The order of retrieving | ||
| 20 | - * the triggerAsyncId value is passing directly to the constructor -> value | ||
| 21 | - * set in kInitTriggerId -> executionAsyncId of the current resource. | ||
| 15 | + * kTriggerAsyncId: The trigger_async_id of the resource responsible for | ||
| 16 | + * the current execution stack. | ||
| 17 | + * kAsyncIdCounter: Incremental counter tracking the next assigned async_id. | ||
| 18 | + * kInitTriggerAsyncId: Written immediately before a resource's constructor | ||
| 19 | + * that sets the value of the init()'s triggerAsyncId. The order of | ||
| 20 | + * retrieving the triggerAsyncId value is passing directly to the | ||
| 21 | + * constructor -> value set in kInitTriggerAsyncId -> executionAsyncId of | ||
| 22 | + * the current resource. | ||
| 22 | 23 | */ | |
| 23 | - const { async_hook_fields, async_uid_fields } = async_wrap; | ||
| 24 | + const { async_hook_fields, async_id_fields } = async_wrap; | ||
| 24 | 25 | // Store the pair executionAsyncId and triggerAsyncId in a std::stack on | |
| 25 | 26 | // Environment::AsyncHooks::ids_stack_ tracks the resource responsible for the | |
| 26 | 27 | // current execution stack. This is unwound as each resource exits. In the case | |
@@ -59,14 +60,14 @@ const active_hooks = { | |||
| 59 | 60 | // Each constant tracks how many callbacks there are for any given step of | |
| 60 | 61 | // async execution. These are tracked so if the user didn't include callbacks | |
| 61 | 62 | // for a given step, that step can bail out early. | |
| 62 | - const { kInit, kBefore, kAfter, kDestroy, kPromiseResolve, kTotals, | ||
| 63 | - kCurrentAsyncId, kCurrentTriggerId, kAsyncUidCntr, | ||
| 64 | - kInitTriggerId } = async_wrap.constants; | ||
| 63 | + const { kInit, kBefore, kAfter, kDestroy, kTotals, kPromiseResolve, | ||
| 64 | + kExecutionAsyncId, kTriggerAsyncId, kAsyncIdCounter, | ||
| 65 | + kInitTriggerAsyncId } = async_wrap.constants; | ||
| 65 | 66 | ||
| 66 | 67 | // Symbols used to store the respective ids on both AsyncResource instances and | |
| 67 | 68 | // internal resources. They will also be assigned to arbitrary objects passed | |
| 68 | 69 | // in by the user that take place of internally constructed objects. | |
| 69 | - const { async_id_symbol, trigger_id_symbol } = async_wrap; | ||
| 70 | + const { async_id_symbol, trigger_async_id_symbol } = async_wrap; | ||
| 70 | 71 | ||
| 71 | 72 | // Used in AsyncHook and AsyncResource. | |
| 72 | 73 | const init_symbol = Symbol('init'); | |
@@ -235,12 +236,12 @@ function createHook(fns) { | |||
| 235 | 236 | ||
| 236 | 237 | ||
| 237 | 238 | function executionAsyncId() { | |
| 238 | - return async_uid_fields[kCurrentAsyncId]; | ||
| 239 | + return async_id_fields[kExecutionAsyncId]; | ||
| 239 | 240 | } | |
| 240 | 241 | ||
| 241 | 242 | ||
| 242 | 243 | function triggerAsyncId() { | |
| 243 | - return async_uid_fields[kCurrentTriggerId]; | ||
| 244 | + return async_id_fields[kTriggerAsyncId]; | ||
| 244 | 245 | } | |
| 245 | 246 | ||
| 246 | 247 | ||
@@ -259,14 +260,16 @@ class AsyncResource { | |||
| 259 | 260 | triggerAsyncId); | |
| 260 | 261 | } | |
| 261 | 262 | ||
| 262 | - this[async_id_symbol] = ++async_uid_fields[kAsyncUidCntr]; | ||
| 263 | - this[trigger_id_symbol] = triggerAsyncId; | ||
| 263 | + this[async_id_symbol] = ++async_id_fields[kAsyncIdCounter]; | ||
| 264 | + this[trigger_async_id_symbol] = triggerAsyncId; | ||
| 264 | 265 | ||
| 265 | - emitInitScript(this[async_id_symbol], type, this[trigger_id_symbol], this); | ||
| 266 | + emitInitScript( | ||
| 267 | + this[async_id_symbol], type, this[trigger_async_id_symbol], this | ||
| 268 | + ); | ||
| 266 | 269 | } | |
| 267 | 270 | ||
| 268 | 271 | emitBefore() { | |
| 269 | - emitBeforeScript(this[async_id_symbol], this[trigger_id_symbol]); | ||
| 272 | + emitBeforeScript(this[async_id_symbol], this[trigger_async_id_symbol]); | ||
| 270 | 273 | return this; | |
| 271 | 274 | } | |
| 272 | 275 | ||
@@ -285,7 +288,7 @@ class AsyncResource { | |||
| 285 | 288 | } | |
| 286 | 289 | ||
| 287 | 290 | triggerAsyncId() { | |
| 288 | - return this[trigger_id_symbol]; | ||
| 291 | + return this[trigger_async_id_symbol]; | ||
| 289 | 292 | } | |
| 290 | 293 | } | |
| 291 | 294 | ||
@@ -320,28 +323,28 @@ function runInAsyncIdScope(asyncId, cb) { | |||
| 320 | 323 | // counter increment first. Since it's done the same way in | |
| 321 | 324 | // Environment::new_async_uid() | |
| 322 | 325 | function newUid() { | |
| 323 | - return ++async_uid_fields[kAsyncUidCntr]; | ||
| 326 | + return ++async_id_fields[kAsyncIdCounter]; | ||
| 324 | 327 | } | |
| 325 | 328 | ||
| 326 | 329 | ||
| 327 | 330 | // Return the triggerAsyncId meant for the constructor calling it. It's up to | |
| 328 | 331 | // the user to safeguard this call and make sure it's zero'd out when the | |
| 329 | 332 | // constructor is complete. | |
| 330 | 333 | function initTriggerId() { | |
| 331 | - var tId = async_uid_fields[kInitTriggerId]; | ||
| 334 | + var triggerAsyncId = async_id_fields[kInitTriggerAsyncId]; | ||
| 332 | 335 | // Reset value after it's been called so the next constructor doesn't | |
| 333 | 336 | // inherit it by accident. | |
| 334 | - async_uid_fields[kInitTriggerId] = 0; | ||
| 335 | - if (tId <= 0) | ||
| 336 | - tId = async_uid_fields[kCurrentAsyncId]; | ||
| 337 | - return tId; | ||
| 337 | + async_id_fields[kInitTriggerAsyncId] = 0; | ||
| 338 | + if (triggerAsyncId <= 0) | ||
| 339 | + triggerAsyncId = async_id_fields[kExecutionAsyncId]; | ||
| 340 | + return triggerAsyncId; | ||
| 338 | 341 | } | |
| 339 | 342 | ||
| 340 | 343 | ||
| 341 | 344 | function setInitTriggerId(triggerAsyncId) { | |
| 342 | 345 | // CHECK(Number.isSafeInteger(triggerAsyncId)) | |
| 343 | 346 | // CHECK(triggerAsyncId > 0) | |
| 344 | - async_uid_fields[kInitTriggerId] = triggerAsyncId; | ||
| 347 | + async_id_fields[kInitTriggerAsyncId] = triggerAsyncId; | ||
| 345 | 348 | } | |
| 346 | 349 | ||
| 347 | 350 | ||
@@ -358,8 +361,9 @@ function emitInitScript(asyncId, type, triggerAsyncId, resource) { | |||
| 358 | 361 | if (triggerAsyncId === null) { | |
| 359 | 362 | triggerAsyncId = initTriggerId(); | |
| 360 | 363 | } else { | |
| 361 | - // If a triggerAsyncId was passed, any kInitTriggerId still must be null'd. | ||
| 362 | - async_uid_fields[kInitTriggerId] = 0; | ||
| 364 | + // If a triggerAsyncId was passed, any kInitTriggerAsyncId still must be | ||
| 365 | + // null'd. | ||
| 366 | + async_id_fields[kInitTriggerAsyncId] = 0; | ||
| 363 | 367 | } | |
| 364 | 368 | ||
| 365 | 369 | if (!Number.isSafeInteger(asyncId) || asyncId < -1) { | |
@@ -458,7 +462,7 @@ function emitDestroyScript(asyncId) { | |||
| 458 | 462 | // Return early if there are no destroy callbacks, or invalid asyncId. | |
| 459 | 463 | if (async_hook_fields[kDestroy] === 0 || asyncId <= 0) | |
| 460 | 464 | return; | |
| 461 | - async_wrap.addIdToDestroyList(asyncId); | ||
| 465 | + async_wrap.queueDestroyAsyncId(asyncId); | ||
| 462 | 466 | } | |
| 463 | 467 | ||
| 464 | 468 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -354,17 +354,18 @@ | |||
| 354 | 354 | function setupProcessFatal() { | |
| 355 | 355 | const async_wrap = process.binding('async_wrap'); | |
| 356 | 356 | // Arrays containing hook flags and ids for async_hook calls. | |
| 357 | - const { async_hook_fields, async_uid_fields } = async_wrap; | ||
| 357 | + const { async_hook_fields, async_id_fields } = async_wrap; | ||
| 358 | 358 | // Internal functions needed to manipulate the stack. | |
| 359 | - const { clearIdStack, asyncIdStackSize } = async_wrap; | ||
| 360 | - const { kAfter, kCurrentAsyncId, kInitTriggerId } = async_wrap.constants; | ||
| 359 | + const { clearAsyncIdStack, asyncIdStackSize } = async_wrap; | ||
| 360 | + const { kAfter, kExecutionAsyncId, | ||
| 361 | + kInitTriggerAsyncId } = async_wrap.constants; | ||
| 361 | 362 | ||
| 362 | 363 | process._fatalException = function(er) { | |
| 363 | 364 | var caught; | |
| 364 | 365 | ||
| 365 | - // It's possible that kInitTriggerId was set for a constructor call that | ||
| 366 | - // threw and was never cleared. So clear it now. | ||
| 367 | - async_uid_fields[kInitTriggerId] = 0; | ||
| 366 | + // It's possible that kInitTriggerAsyncId was set for a constructor call | ||
| 367 | + // that threw and was never cleared. So clear it now. | ||
| 368 | + async_id_fields[kInitTriggerAsyncId] = 0; | ||
| 368 | 369 | ||
| 369 | 370 | if (process.domain && process.domain._errorHandler) | |
| 370 | 371 | caught = process.domain._errorHandler(er); | |
@@ -392,11 +393,11 @@ | |||
| 392 | 393 | if (async_hook_fields[kAfter] > 0) { | |
| 393 | 394 | do { | |
| 394 | 395 | NativeModule.require('async_hooks').emitAfter( | |
| 395 | - async_uid_fields[kCurrentAsyncId]); | ||
| 396 | + async_id_fields[kExecutionAsyncId]); | ||
| 396 | 397 | } while (asyncIdStackSize() > 0); | |
| 397 | 398 | // Or completely empty the id stack. | |
| 398 | 399 | } else { | |
| 399 | - clearIdStack(); | ||
| 400 | + clearAsyncIdStack(); | ||
| 400 | 401 | } | |
| 401 | 402 | } | |
| 402 | 403 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -54,12 +54,12 @@ function setupNextTick() { | |||
| 54 | 54 | const emitPendingUnhandledRejections = promises.setup(scheduleMicrotasks); | |
| 55 | 55 | const initTriggerId = async_hooks.initTriggerId; | |
| 56 | 56 | // Two arrays that share state between C++ and JS. | |
| 57 | - const { async_hook_fields, async_uid_fields } = async_wrap; | ||
| 57 | + const { async_hook_fields, async_id_fields } = async_wrap; | ||
| 58 | 58 | // Used to change the state of the async id stack. | |
| 59 | 59 | const { emitInit, emitBefore, emitAfter, emitDestroy } = async_hooks; | |
| 60 | 60 | // Grab the constants necessary for working with internal arrays. | |
| 61 | - const { kInit, kDestroy, kAsyncUidCntr } = async_wrap.constants; | ||
| 62 | - const { async_id_symbol, trigger_id_symbol } = async_wrap; | ||
| 61 | + const { kInit, kDestroy, kAsyncIdCounter } = async_wrap.constants; | ||
| 62 | + const { async_id_symbol, trigger_async_id_symbol } = async_wrap; | ||
| 63 | 63 | var nextTickQueue = new NextTickQueue(); | |
| 64 | 64 | var microtasksScheduled = false; | |
| 65 | 65 | ||
@@ -102,7 +102,7 @@ function setupNextTick() { | |||
| 102 | 102 | args: undefined, | |
| 103 | 103 | domain: null, | |
| 104 | 104 | [async_id_symbol]: 0, | |
| 105 | - [trigger_id_symbol]: 0 | ||
| 105 | + [trigger_async_id_symbol]: 0 | ||
| 106 | 106 | }; | |
| 107 | 107 | function scheduleMicrotasks() { | |
| 108 | 108 | if (microtasksScheduled) | |
@@ -158,10 +158,10 @@ function setupNextTick() { | |||
| 158 | 158 | ||
| 159 | 159 | // CHECK(Number.isSafeInteger(tock[async_id_symbol])) | |
| 160 | 160 | // CHECK(tock[async_id_symbol] > 0) | |
| 161 | - // CHECK(Number.isSafeInteger(tock[trigger_id_symbol])) | ||
| 162 | - // CHECK(tock[trigger_id_symbol] > 0) | ||
| 161 | + // CHECK(Number.isSafeInteger(tock[trigger_async_id_symbol])) | ||
| 162 | + // CHECK(tock[trigger_async_id_symbol] > 0) | ||
| 163 | 163 | ||
| 164 | - emitBefore(tock[async_id_symbol], tock[trigger_id_symbol]); | ||
| 164 | + emitBefore(tock[async_id_symbol], tock[trigger_async_id_symbol]); | ||
| 165 | 165 | // emitDestroy() places the async_id_symbol into an asynchronous queue | |
| 166 | 166 | // that calls the destroy callback in the future. It's called before | |
| 167 | 167 | // calling tock.callback so destroy will be called even if the callback | |
@@ -203,10 +203,10 @@ function setupNextTick() { | |||
| 203 | 203 | ||
| 204 | 204 | // CHECK(Number.isSafeInteger(tock[async_id_symbol])) | |
| 205 | 205 | // CHECK(tock[async_id_symbol] > 0) | |
| 206 | - // CHECK(Number.isSafeInteger(tock[trigger_id_symbol])) | ||
| 207 | - // CHECK(tock[trigger_id_symbol] > 0) | ||
| 206 | + // CHECK(Number.isSafeInteger(tock[trigger_async_id_symbol])) | ||
| 207 | + // CHECK(tock[trigger_async_id_symbol] > 0) | ||
| 208 | 208 | ||
| 209 | - emitBefore(tock[async_id_symbol], tock[trigger_id_symbol]); | ||
| 209 | + emitBefore(tock[async_id_symbol], tock[trigger_async_id_symbol]); | ||
| 210 | 210 | // TODO(trevnorris): See comment in _tickCallback() as to why this | |
| 211 | 211 | // isn't a good solution. | |
| 212 | 212 | if (async_hook_fields[kDestroy] > 0) | |
@@ -236,7 +236,7 @@ function setupNextTick() { | |||
| 236 | 236 | this.args = args; | |
| 237 | 237 | this.domain = process.domain || null; | |
| 238 | 238 | this[async_id_symbol] = asyncId; | |
| 239 | - this[trigger_id_symbol] = triggerAsyncId; | ||
| 239 | + this[trigger_async_id_symbol] = triggerAsyncId; | ||
| 240 | 240 | } | |
| 241 | 241 | } | |
| 242 | 242 | ||
@@ -261,7 +261,7 @@ function setupNextTick() { | |||
| 261 | 261 | args[i - 1] = arguments[i]; | |
| 262 | 262 | } | |
| 263 | 263 | ||
| 264 | - const asyncId = ++async_uid_fields[kAsyncUidCntr]; | ||
| 264 | + const asyncId = ++async_id_fields[kAsyncIdCounter]; | ||
| 265 | 265 | const triggerAsyncId = initTriggerId(); | |
| 266 | 266 | const obj = new TickObject(callback, args, asyncId, triggerAsyncId); | |
| 267 | 267 | nextTickQueue.push(obj); | |
@@ -297,7 +297,7 @@ function setupNextTick() { | |||
| 297 | 297 | args[i - 2] = arguments[i]; | |
| 298 | 298 | } | |
| 299 | 299 | ||
| 300 | - const asyncId = ++async_uid_fields[kAsyncUidCntr]; | ||
| 300 | + const asyncId = ++async_id_fields[kAsyncIdCounter]; | ||
| 301 | 301 | const obj = new TickObject(callback, args, asyncId, triggerAsyncId); | |
| 302 | 302 | nextTickQueue.push(obj); | |
| 303 | 303 | ++tickInfo[kLength]; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,14 +33,14 @@ const debug = util.debuglog('timer'); | |||
| 33 | 33 | const kOnTimeout = TimerWrap.kOnTimeout | 0; | |
| 34 | 34 | const initTriggerId = async_hooks.initTriggerId; | |
| 35 | 35 | // Two arrays that share state between C++ and JS. | |
| 36 | - const { async_hook_fields, async_uid_fields } = async_wrap; | ||
| 36 | + const { async_hook_fields, async_id_fields } = async_wrap; | ||
| 37 | 37 | // The needed emit*() functions. | |
| 38 | 38 | const { emitInit, emitBefore, emitAfter, emitDestroy } = async_hooks; | |
| 39 | 39 | // Grab the constants necessary for working with internal arrays. | |
| 40 | - const { kInit, kDestroy, kAsyncUidCntr } = async_wrap.constants; | ||
| 40 | + const { kInit, kDestroy, kAsyncIdCounter } = async_wrap.constants; | ||
| 41 | 41 | // Symbols for storing async id state. | |
| 42 | 42 | const async_id_symbol = Symbol('asyncId'); | |
| 43 | - const trigger_id_symbol = Symbol('triggerAsyncId'); | ||
| 43 | + const trigger_async_id_symbol = Symbol('triggerAsyncId'); | ||
| 44 | 44 | ||
| 45 | 45 | // Timeout values > TIMEOUT_MAX are set to 1. | |
| 46 | 46 | const TIMEOUT_MAX = 2147483647; // 2^31-1 | |
@@ -168,10 +168,12 @@ function insert(item, unrefed) { | |||
| 168 | 168 | ||
| 169 | 169 | if (!item[async_id_symbol] || item._destroyed) { | |
| 170 | 170 | item._destroyed = false; | |
| 171 | - item[async_id_symbol] = ++async_uid_fields[kAsyncUidCntr]; | ||
| 172 | - item[trigger_id_symbol] = initTriggerId(); | ||
| 171 | + item[async_id_symbol] = ++async_id_fields[kAsyncIdCounter]; | ||
| 172 | + item[trigger_async_id_symbol] = initTriggerId(); | ||
| 173 | 173 | if (async_hook_fields[kInit] > 0) | |
| 174 | - emitInit(item[async_id_symbol], 'Timeout', item[trigger_id_symbol], item); | ||
| 174 | + emitInit( | ||
| 175 | + item[async_id_symbol], 'Timeout', item[trigger_async_id_symbol], item | ||
| 176 | + ); | ||
| 175 | 177 | } | |
| 176 | 178 | ||
| 177 | 179 | L.append(list, item); | |
@@ -299,7 +301,7 @@ function tryOnTimeout(timer, list) { | |||
| 299 | 301 | timer[async_id_symbol] : null; | |
| 300 | 302 | var threw = true; | |
| 301 | 303 | if (timerAsyncId !== null) | |
| 302 | - emitBefore(timerAsyncId, timer[trigger_id_symbol]); | ||
| 304 | + emitBefore(timerAsyncId, timer[trigger_async_id_symbol]); | ||
| 303 | 305 | try { | |
| 304 | 306 | ontimeout(timer); | |
| 305 | 307 | threw = false; | |
@@ -567,10 +569,12 @@ function Timeout(after, callback, args) { | |||
| 567 | 569 | this._timerArgs = args; | |
| 568 | 570 | this._repeat = null; | |
| 569 | 571 | this._destroyed = false; | |
| 570 | - this[async_id_symbol] = ++async_uid_fields[kAsyncUidCntr]; | ||
| 571 | - this[trigger_id_symbol] = initTriggerId(); | ||
| 572 | + this[async_id_symbol] = ++async_id_fields[kAsyncIdCounter]; | ||
| 573 | + this[trigger_async_id_symbol] = initTriggerId(); | ||
| 572 | 574 | if (async_hook_fields[kInit] > 0) | |
| 573 | - emitInit(this[async_id_symbol], 'Timeout', this[trigger_id_symbol], this); | ||
| 575 | + emitInit( | ||
| 576 | + this[async_id_symbol], 'Timeout', this[trigger_async_id_symbol], this | ||
| 577 | + ); | ||
| 574 | 578 | } | |
| 575 | 579 | ||
| 576 | 580 | ||
@@ -737,7 +741,7 @@ function processImmediate() { | |||
| 737 | 741 | // 4.7) what is in this smaller function. | |
| 738 | 742 | function tryOnImmediate(immediate, oldTail) { | |
| 739 | 743 | var threw = true; | |
| 740 | - emitBefore(immediate[async_id_symbol], immediate[trigger_id_symbol]); | ||
| 744 | + emitBefore(immediate[async_id_symbol], immediate[trigger_async_id_symbol]); | ||
| 741 | 745 | try { | |
| 742 | 746 | // make the actual call outside the try/finally to allow it to be optimized | |
| 743 | 747 | runCallback(immediate); | |
@@ -802,10 +806,12 @@ function Immediate() { | |||
| 802 | 806 | this._onImmediate = null; | |
| 803 | 807 | this._destroyed = false; | |
| 804 | 808 | this.domain = process.domain; | |
| 805 | - this[async_id_symbol] = ++async_uid_fields[kAsyncUidCntr]; | ||
| 806 | - this[trigger_id_symbol] = initTriggerId(); | ||
| 809 | + this[async_id_symbol] = ++async_id_fields[kAsyncIdCounter]; | ||
| 810 | + this[trigger_async_id_symbol] = initTriggerId(); | ||
| 807 | 811 | if (async_hook_fields[kInit] > 0) | |
| 808 | - emitInit(this[async_id_symbol], 'Immediate', this[trigger_id_symbol], this); | ||
| 812 | + emitInit( | ||
| 813 | + this[async_id_symbol], 'Immediate', this[trigger_async_id_symbol], this | ||
| 814 | + ); | ||
| 809 | 815 | } | |
| 810 | 816 | ||
| 811 | 817 | function setImmediate(callback, arg1, arg2, arg3) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,13 +36,13 @@ inline AsyncWrap::ProviderType AsyncWrap::provider_type() const { | |||
| 36 | 36 | } | |
| 37 | 37 | ||
| 38 | 38 | ||
| 39 | - inline double AsyncWrap::get_id() const { | ||
| 39 | + inline double AsyncWrap::get_async_id() const { | ||
| 40 | 40 | return async_id_; | |
| 41 | 41 | } | |
| 42 | 42 | ||
| 43 | 43 | ||
| 44 | - inline double AsyncWrap::get_trigger_id() const { | ||
| 45 | - return trigger_id_; | ||
| 44 | + inline double AsyncWrap::get_trigger_async_id() const { | ||
| 45 | + return trigger_async_id_; | ||
| 46 | 46 | } | |
| 47 | 47 | ||
| 48 | 48 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments