We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This might help to get started:
require('firebase-queue') -> require('@kaliber/firebase-queue')
require('firebase-queue')
require('@kaliber/firebase-queue')
remove spec related database logic
const specCreated = specsRef.child(specId).set({ in_progress_state: 'in_progress', finished_state: 'finished', error_state: 'error', timeout: TIMEOUT, retries: 0 }).catch(reportError)
change queue instantiation:
const options = { specId, numWorkers: 1 } new Queue({ tasksRef, specsRef }, options, handleRequest)
const spec = { inProgressState: 'in_progress', finishedState: 'finished', errorState: 'error', } new Queue({ tasksRef, options: { spec }, processTask, reportError })
adjust process task function
function processTask(data, progress, resolve, reject) -> function processTask(data, { setProgress })
function processTask(data, progress, resolve, reject)
function processTask(data, { setProgress })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This might help to get started:
require('firebase-queue')
->require('@kaliber/firebase-queue')
remove spec related database logic
change queue instantiation:
adjust process task function
function processTask(data, progress, resolve, reject)
->function processTask(data, { setProgress })
The text was updated successfully, but these errors were encountered: