Ticket #2531698 (accepted enhancement)

Reporter


John McLaughlin
Opened: 01/27/12
Last modified: 09/19/12
Status: accepted
Type: enhancement

Owner


Luke Smith
Target Release: BACKLOG
Priority: P3 (normal)
Summary: AsyncQueue "callback" context and "alwaysPause" config option
Description:

These are a couple of tweaks to the AsyncQueue configuration. See attached example file, and pull request.

If you specify

context: "callback"
, the queue entry will use its configuration wrapper as the context for the callback. This allows the callback to directly access and modify its configuration
parameters. Most useful are the "iterations" and "timeout" parameter.

Specifying

alwaysPause: true
is almost the same as
autoContinue: false
, however the autoContinue approach ignores "q.run()" calls that are executed in the queue task callback.

Type: enhancement Observed in Version: 3.5.0pr1
Component: AsyncQueue Severity: S3 (normal)
Assigned To: Luke Smith Target Release: BACKLOG
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: All
URL:
Test Information:

Attachments

Attachment #1: aq_tester.html (download)

Change History

Luke Smith

YUI Contributor

Posted: 02/13/12
  • location changed to Library Code
  • milestone changed to 3.6.0
  • priority changed to P3 (normal)
  • status changed from new to accepted

I'll review the PR for 3.6.0. Thanks!

Luke Smith

YUI Contributor

Posted: 04/5/12
  • estimated changed from 0 to 1
  • remaining changed from 0 to 1
  • sprint changed to backlog

Jenny Donnelly

YUI Developer

Posted: 07/24/12
  • milestone changed from 3.6.0 to 3.NEXT

Moving from 3.6.0 backlog to 3.NEXT.

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.NEXT to BACKLOG

Jenny Donnelly

YUI Developer

Posted: 09/19/12

Moving from 3.NEXT to BACKLOG.