UNPKG

@uyu423/pinpoint-node-agent

Version:

Pinpoint node agent provided by NAVER (Personalized version)

23 lines (17 loc) 412 B
/** * Pinpoint Node.js Agent * Copyright 2020-present NAVER Corp. * Apache License v2.0 */ 'use strict' const SequenceGenerator = require('./sequence-generator').SequenceGenerator class AsyncId { constructor(asyncId) { this.asyncId = asyncId this.sequenceGenerator = new SequenceGenerator() } get nextAsyncSequence() { return this.sequenceGenerator.next } } module.exports = AsyncId