Skip to content

Commit

Permalink
Trivial formatting update
Browse files Browse the repository at this point in the history
Mostly doing this to trigger another deployment of the docs site, which is currently down.
  • Loading branch information
tjvantoll committed Oct 24, 2016
1 parent dda05dc commit 0cb8221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-concepts/multithreading-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Workers API in NativeScript is loosely based on the [Dedicated Web Workers API](
### Worker Object prototype
- `new Worker(path)` - creates an instance of a Worker and spawns a new OS thread, where the script pointed to by the `path` parameter is executed.
- `postMessage(message)` - sends a JSON-serializable message to the associated script's `onmessage` event handler.
- `terminate()` - terminates the execution of the worker thread on the next run loop tick
- `terminate()` - terminates the execution of the worker thread on the next run loop tick.

**Worker** Object event handlers
- `onmessage(message)` - handle incoming messages sent from the associated worker thread. The message object has the following properties:
Expand Down

0 comments on commit 0cb8221

Please sign in to comment.