You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Utilizes double-check async locking to guarantee there's only one instance of the object. It's lazy; it's initialized only when retrieving. <para/>
16
-
/// This method should be called even if the initialization func was synchronous.
15
+
/// Gets the singleton instance asynchronously, creating it if necessary.
17
16
/// </summary>
18
-
/// <remarks>The initialization func needs to be set before calling this, either in the ctor or via the other methods</remarks>
/// Utilizes double-check async locking to guarantee there's only one instance of the object. It's lazy; it's initialized only when retrieving. <para/>
26
-
/// This method should be called even if the initialization func was synchronous.
20
+
/// Gets the singleton instance synchronously, creating it if necessary.
27
21
/// </summary>
28
-
/// <remarks>The initialization func needs to be set before calling this, either in the ctor or via the other methods</remarks>
/// Get should be used instead of this if possible. This method can block the calling thread! It's lazy; it's initialized only when retrieving. <para/>
36
-
/// This can still be used with an async initialization func, but it will block on the func.
37
-
/// </summary>
38
-
/// <remarks>The initialization func needs to be set before calling this, either in the ctor or via the other methods</remarks>
0 commit comments