-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Low PriorityThis can wait till someone is free and can work on thisThis can wait till someone is free and can work on thishelp wantedExtra attention is neededExtra attention is needed
Description
Create test cases for set_timeout and set_interval which exist in webcraft/async/runtime.hpp
Something simple like the following:
// set timeout test
runtime_context ctx;
event_signal signal;
auto f = async {
set_timeout([signal]() { signal.set(); }, 100ms);
co_await sleep_for(100ms);
EXPECT_TRUE(signal.is_set());
};
sync_wait(f());Maybe an atomic counter for the set_interval?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Low PriorityThis can wait till someone is free and can work on thisThis can wait till someone is free and can work on thishelp wantedExtra attention is neededExtra attention is needed
Projects
Status
Backlog