Skip to content
Snippets Groups Projects
Commit 6ae9ad98 authored by Josh Brooks's avatar Josh Brooks
Browse files

Add docstring defining use case of SetTimeSource

parent 818a60c8
Branches
No related tags found
4 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!405Add netTime functionality to bindings,!340Project/channels
...@@ -13,7 +13,9 @@ import ( ...@@ -13,7 +13,9 @@ import (
) )
// SetTimeSource will set the time source that will be used when retrieving the // SetTimeSource will set the time source that will be used when retrieving the
// current time using [netTime.Now]. // current time using [netTime.Now]. This should be called BEFORE Login()
// and only be called once. Using this after Login is undefined behavior that
// may result in a crash.
// //
// Parameters: // Parameters:
// - timeNow is an object which adheres to [netTime.TimeSource]. Specifically, // - timeNow is an object which adheres to [netTime.TimeSource]. Specifically,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment