Skip to content
Snippets Groups Projects
Commit 9f51187a authored by Jason Mulligan's avatar Jason Mulligan
Browse files

Updating README

parent cd544cbb
No related branches found
No related tags found
No related merge requests found
...@@ -31,9 +31,18 @@ Message handler, accepts an `Event` ...@@ -31,9 +31,18 @@ Message handler, accepts an `Event`
Error handler, accepts an `Event` Error handler, accepts an `Event`
## API ## API
#### addEventListener(event, fn)
Adds an event listener
#### close()
Terminates the `Worker`, same as `terminate()`
#### postMessage() #### postMessage()
Broadcasts a message to the `Worker` Broadcasts a message to the `Worker`
#### terminate()
Terminates the `Worker`
## License ## License
Copyright (c) 2015 Jason Mulligan Copyright (c) 2015 Jason Mulligan
Licensed under the BSD-3 license Licensed under the BSD-3 license
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment