MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / EnqueueAsync

Method EnqueueAsync

NetStream/source/downloader.cpp:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144int32_t Downloader::EnqueueAsync(Plugin *workPlugin, const char *url, const char *name)
145{
146 AsyncEnqueue *dwJob = new AsyncEnqueue(workPlugin, this, url, name);
147 common::SharedPtr<job::JobItem> itemParam(dwJob);
148
149 return job::JobQueue::DefaultQueue()->Enqueue(itemParam);
150}

Callers 1

EnqueueDownloadAsyncMethod · 0.80

Calls 1

EnqueueMethod · 0.80

Tested by

no test coverage detected