Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actionhero/node-resque
/ arrayify
Function
arrayify
src/core/queue.ts:32–38 ·
view source on GitHub ↗
(o: T)
Source
from the content-addressed store, hash-verified
30
};
31
32
function
arrayify<T>(o: T): T[] {
33
if
(Array.isArray(o)) {
34
return
o;
35
}
else
{
36
return
[o];
37
}
38
}
39
40
export
declare
interface
Queue {
41
connection: Connection;
Callers
5
enqueue
Method · 0.85
enqueueAt
Method · 0.85
del
Method · 0.85
delDelayed
Method · 0.85
scheduledAt
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected