From fdb731850b2119b15d6e27ffe473692992a07f35 Mon Sep 17 00:00:00 2001 From: Joel Kuzmarski Date: Fri, 15 Jun 2018 02:08:11 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 158256d..acc1acf 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ There isn't currently direct feature to stop the iterations externally. You can, const interval = require('interval-promise') let stoppedExternally = false -const stoppedExternally = () => { stoppedExternally = true } +const stopExternally = () => { stoppedExternally = true } interval(async (iteration, stop) => {