diff --git a/README.md b/README.md index 27d724f56b43f5728f606a20fcda9acf1e9c5b96..60903e7f2e6ae40d1664d8e02101a275fedda7fc 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,18 @@ Message handler, accepts an `Event` Error handler, accepts an `Event` ## API +#### addEventListener(event, fn) +Adds an event listener + +#### close() +Terminates the `Worker`, same as `terminate()` + #### postMessage() Broadcasts a message to the `Worker` +#### terminate() +Terminates the `Worker` + ## License Copyright (c) 2015 Jason Mulligan Licensed under the BSD-3 license