MCPcopy Create free account
hub / github.com/nodejs/nan / ExecutionProgress

Class ExecutionProgress

nan.h:2282–2294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2280 }
2281
2282 class ExecutionProgress {
2283 friend class AsyncBareProgressQueueWorker;
2284 public:
2285 void Send(const T* data, size_t count) const {
2286 that_->SendProgress_(data, count);
2287 }
2288
2289 private:
2290 explicit ExecutionProgress(AsyncBareProgressQueueWorker *that)
2291 : that_(that) {}
2292 NAN_DISALLOW_ASSIGN_COPY_MOVE(ExecutionProgress)
2293 AsyncBareProgressQueueWorker* const that_;
2294 };
2295
2296 virtual void Execute(const ExecutionProgress& progress) = 0;
2297 virtual void HandleProgressCallback(const T *data, size_t size) = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected