Preparing search index...
The search index is not available
actionhero
actionhero
task
delByFunction
Function delByFunction
del
By
Function
(
q
,
taskName
,
start
?
,
stop
?
)
:
Promise
<
number
>
will delete all jobs in the given queue of the named function/class
will not prevent new jobs from being added as this method is running
will not delete jobs in the delayed queues
Inputs:
q: Which queue/priority is to run on?
taskName: The name of the job, likely to be the same name as a tak.
start? - starting position of task count to remove
stop? - stop position of task count to remove
Parameters
q
:
string
taskName
:
string
Optional
start
:
number
Optional
stop
:
number
Returns
Promise
<
number
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
actionhero
action
cache
chatRoom
redis
route
specHelper
task
Action
ActionProcessor
Api
CLI
Connection
Initializer
Process
Server
Task
ActionheroConfigInterface
Input
Inputs
ActionheroLogLevel
ExceptionReporter
Loading...
Generated using
TypeDoc
Inputs: