diff --git a/README.md b/README.md index a6d4953..82ba68a 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ bp.addBThread('console.log', ++priority, function*() { yield { wait: () => true }; - console.log(this.lastEvent); + console.log(this.lastEvent()); } });