src code

constructor new ActiveSupport.CallbackQueue

new ActiveSupport.CallbackQueue(on_complete[,context])
  • on_complete (Function): The function to call when all callacks are completed.
  • context (Object): optional context to bind the on_complete function to.