(q: string, func: string, args: Array<any> = [])
| 67 | } |
| 68 | |
| 69 | encode(q: string, func: string, args: Array<any> = []) { |
| 70 | return JSON.stringify({ |
| 71 | class: func, |
| 72 | queue: q, |
| 73 | args: args, |
| 74 | }); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * - Enqueue a named job (defined in `jobs` to be worked by a worker) |
no outgoing calls
no test coverage detected