Skip to content

docs: document WithPollInterval option#23

Merged
anish749 merged 2 commits into
mainfrom
oncetask/document-poll-interval
May 17, 2026
Merged

docs: document WithPollInterval option#23
anish749 merged 2 commits into
mainfrom
oncetask/document-poll-interval

Conversation

@anish749

Copy link
Copy Markdown
Owner

Problem

WithPollInterval (added in #22) wasn't listed in the option enumerations on RegisterTaskHandler / RegisterResourceKeyHandler in interface.go, and docs/configuration.md had no section for it. Users reading the interface via godoc or browsing the configuration docs won't discover the option.

Solution

  • Add WithPollInterval to the option lists in both Register*Handler doc comments.
  • Add a "Poll Interval" section to docs/configuration.md, alongside the existing per-option sections.
  • Add it to the overview snippet at the top of the configuration doc.

@anish749 anish749 merged commit 182deb0 into main May 17, 2026
4 checks passed
@anish749 anish749 deleted the oncetask/document-poll-interval branch May 17, 2026 11:35
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.

1 participant