Skip to content

Commit 1a2e8fa

Browse files
author
Thomas
committed
docs
1 parent c13505f commit 1a2e8fa

File tree

1 file changed

+4
-1
lines changed
  • sdk/src/signaling_device/include/nabto/webrtc

1 file changed

+4
-1
lines changed

sdk/src/signaling_device/include/nabto/webrtc/device.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,17 @@ class SignalingTimer {
293293
SignalingTimer& operator=(SignalingTimer&&) = delete;
294294

295295
/**
296-
* Set a timeout in ms at which the callback sould be invoked.
296+
* Set a timeout in ms at which the callback should be invoked.
297297
*
298298
* @param timeoutMs The timeout in milliseconds.
299299
* @param callback The callback to be invoked once the timeout has passed.
300300
*/
301301
virtual void setTimeout(uint32_t timeoutMs,
302302
std::function<void()> callback) = 0;
303303

304+
/**
305+
* Cancel a started timer.
306+
*/
304307
virtual void cancel() = 0;
305308
};
306309

0 commit comments

Comments
 (0)