MCPcopy Create free account
hub / github.com/Codesire-Deng/co_context / start_time

Method start_time

example/sem.cpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37 public:
38 static void start_time() {
39 started_at = std::chrono::high_resolution_clock::now();
40 }
41
42 task<void> initial_delay() const { co_await timeout(delay * time_tick); }
43

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected