Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

Minor inconsistency between Timers and Global Objects doc pages #48

Closed
durkes opened this issue Dec 18, 2015 · 4 comments
Closed

Minor inconsistency between Timers and Global Objects doc pages #48

durkes opened this issue Dec 18, 2015 · 4 comments

Comments

@durkes
Copy link

durkes commented Dec 18, 2015

Hello - I noticed some items on Timers are also documented on Global Objects, but not consistently.

These items are listed on both Timers and Global Objects:
clearInterval(t)/clearTimeout(t) and setInterval(cb, ms)/setTimeout(cb, ms)

But these items are listed only on Timers (missing from Global Objects?):
clearImmediate(immediateObject), setImmediate(callback[, arg][, ...]), ref()/unref()

@a0viedo
Copy link
Member

a0viedo commented Jan 19, 2016

good catch! To my surprise, the entries for setInterval and setTimeout differs from Global Objects to Timers. I think it should be maintained in only one entry (probably Timers?) and reference those entries in Global Objects.

@nodejs/documentation thoughts?

@sam-github
Copy link

Documenting in timers, and linking to those docs from global objects makes lots of sense to me.

@a0viedo
Copy link
Member

a0viedo commented Apr 15, 2016

See nodejs/node#5830 and nodejs/node#5837 for reference

@Trott
Copy link
Member

Trott commented Mar 13, 2018

Closing as this repository is dormant and likely to be archived soon. If this is still an issue, feel free to open it as an issue on the main node repository.

@Trott Trott closed this as completed Mar 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants