Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added fluent stop interface #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jesstelford
Copy link

Added a function as the return value to res.startTime for stopping the timer:

app.use((req, res, next) => {
  const stopFileTimer = res.startTime('file', "File IO metric")
  setTimeout(() => {
    stopFileTimer();
  }, 100)
  next()
})

@coveralls
Copy link

coveralls commented Feb 14, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 2d7d97e on jesstelford:fluent into 9805311 on yosuke-furukawa:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 2d7d97e on jesstelford:fluent into 9805311 on yosuke-furukawa:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants