We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c13505f commit 1a2e8faCopy full SHA for 1a2e8fa
sdk/src/signaling_device/include/nabto/webrtc/device.hpp
@@ -293,14 +293,17 @@ class SignalingTimer {
293
SignalingTimer& operator=(SignalingTimer&&) = delete;
294
295
/**
296
- * Set a timeout in ms at which the callback sould be invoked.
+ * Set a timeout in ms at which the callback should be invoked.
297
*
298
* @param timeoutMs The timeout in milliseconds.
299
* @param callback The callback to be invoked once the timeout has passed.
300
*/
301
virtual void setTimeout(uint32_t timeoutMs,
302
std::function<void()> callback) = 0;
303
304
+ /**
305
+ * Cancel a started timer.
306
+ */
307
virtual void cancel() = 0;
308
};
309
0 commit comments