HangfireIO / HangfireIO/Hangfire

Docs on PerformContext usage

Open
#824 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

We are using hangfire to queue events to Google Analytics and to do this, and as a part of this, we need the time the Job was queued at so we can get the time the job was queued and the time we are actually firing the event.

I can't seem to find any docs about how to add PerformContext as a parameter that is accessible when processing the job though there are mentions of it the web.

Can you point me to some docs about it?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Hangfire's existing documentation and the references to PerformContext mentioned in the issue. Document how PerformContext is supplied during job processing and how users can obtain the queued and execution times; done means the usage is explained clearly enough to address the Google Analytics timing use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.