Allow Rsx.Route() to accept string integers as params

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-23 09:18:10 +00:00
parent 2899ae826b
commit c7a2ec94ab
104 changed files with 293 additions and 144 deletions

37
node_modules/fastq/queue.js generated vendored Executable file → Normal file
View File

@@ -53,7 +53,8 @@ function fastqueue (context, worker, _concurrency) {
empty: noop,
kill: kill,
killAndDrain: killAndDrain,
error: error
error: error,
abort: abort
}
return self
@@ -193,6 +194,40 @@ function fastqueue (context, worker, _concurrency) {
self.drain = noop
}
function abort () {
var current = queueHead
queueHead = null
queueTail = null
while (current) {
var next = current.next
var callback = current.callback
var errorHandler = current.errorHandler
var val = current.value
var context = current.context
// Reset the task state
current.value = null
current.callback = noop
current.errorHandler = null
// Call error handler if present
if (errorHandler) {
errorHandler(new Error('abort'), val)
}
// Call callback with error
callback.call(context, new Error('abort'))
// Release the task back to the pool
current.release(current)
current = next
}
self.drain = noop
}
function error (handler) {
errorHandler = handler
}