DoneJS StealJS jQuery ++ FuncUnit DocumentJS
3.0.0
2.3.27

 

  • Github
  • Twitter
  • Chat
  • Forum
  • Guides
  • Core
  • Ecosystem
  • Infrastructure
    • can-construct
    • can-control
    • can-event
    • can-event/async/async
      • async
      • dispatch
      • flush
      • queue
      • sync
    • can-event/batch/batch
    • can-observation
    • can-simple-map
    • can-util
    • can-view-callbacks
    • can-view-live
    • can-view-model
    • can-view-nodelist
    • can-view-parser
    • can-view-scope
    • can-view-target
  • Legacy
  • Bitovi
    • Bitovi.com
    • Blog
    • Consulting
    • Training
    • Open Source
  • Chat
  • Forum
  • Star
  • Follow @canjs
  • CanJS
  • /
  • Infrastructure
  • /
  • can-event/async/async
  • /
  • queue
  • / On this page
    • queue

      function

      Queues a method to be called asynchronously.

      • source

      async.queue(task)

      Queues a method to be run scheduled to immediately after the current event loop.

      Parameters

      1. task {Array<function,*,Array>}:

        An array that details a function to be called, the context the function should be called with, and the arguments to the function like: [function,context, [arg1, arg2]]

      CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.0.0.