Use setImmediate instead of process.nextTick

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.4.23
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Pro:
      process.nextTick insert on the head the callback destroying the nature of the nodejs stack.
      It's better to use setImmadiate to add on the tick stack all callbacks.
      Cons:
      setImmediate is slower than process.nextTick

            Assignee:
            Christian Amor Kvalheim
            Reporter:
            Tommaso Allevi
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: