From d546ca9db89a605f612537f8b438a6a10e6dc00a Mon Sep 17 00:00:00 2001 From: marcelb Date: Fri, 28 Mar 2025 23:20:13 +0100 Subject: [PATCH] Rename in readme 2 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b0b2db5..8b67d29 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Time asynchronous functions ```c++ // start periodic -periodic inter1 ([]() { +Periodic inter1 ([]() { cout << "Interval 1" << endl; }, 1000); @@ -202,7 +202,7 @@ auto await_all = [&] () { void sleep_to (int _time) { promise _promise; - delayed t( [&]() { + Delayed t( [&]() { _promise.set_value(); }, _time); @@ -217,7 +217,7 @@ sleep_to(3000); void promise_reject (int _time) { promise _promise; - delayed t( [&]() { + Delayed t( [&]() { try { // simulate except throw runtime_error("Error simulation");