Skip to content
Permalink
Browse files

Merge pull request #855 from 0xflotus/master

fixed typos in documentation.
  • Loading branch information...
agnat committed May 6, 2019
2 parents e512f92 + 87c5f4e commit 8b2b384ba7989d84fb3d0d724dc337a4b72480b6
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 doc/asyncworker.md
@@ -21,7 +21,7 @@ This project also contains some helper utilities that make addon development a b
* **[Example](#example)**
* **[API](#api)**
* **[Tests](#tests)**
* **[Knowns issues](#issues)**
* **[Known issues](#issues)**
* **[Governance & Contributing](#governance)**

<a name="news"></a>
@@ -68,7 +68,7 @@ class AsyncWorker {

`Nan::AsyncProgressWorkerBase` is an _abstract_ class template that extends `Nan::AsyncWorker` and adds additional progress reporting callbacks that can be used during the asynchronous work execution to provide progress data back to JavaScript.

Previously the definiton of `Nan::AsyncProgressWorker` only allowed sending `const char` data. Now extending `Nan::AsyncProgressWorker` will yield an instance of the implicit `Nan::AsyncProgressWorkerBase` template with type `<char>` for compatibility.
Previously the definition of `Nan::AsyncProgressWorker` only allowed sending `const char` data. Now extending `Nan::AsyncProgressWorker` will yield an instance of the implicit `Nan::AsyncProgressWorkerBase` template with type `<char>` for compatibility.

`Nan::AsyncProgressWorkerBase` &amp; `Nan::AsyncProgressWorker` is intended for best-effort delivery of nonessential progress messages, e.g. a progress bar. The last event sent before the main thread is woken will be delivered.

0 comments on commit 8b2b384

Please sign in to comment.
You can’t perform that action at this time.