Class FastLazy<T>
A fast, atomic lazy that only allows a single publish operation to happen,
but allows executions to occur concurrently.
Does not cache exceptions. Designed for use with types that are IDisposable
or are otherwise considered to be expensive to allocate. Read the full explanation here: https://github.com/Aaronontheweb/FastAtomicLazy#rationale
Assembly: Akka.dll
Syntax
public sealed class FastLazy<T>
Type Parameters
Constructors
|
Improve this Doc
View Source
FastLazy(Func<T>)
Declaration
public FastLazy(Func<T> producer)
Parameters
Type |
Name |
Description |
Func<T> |
producer |
|
Properties
|
Improve this Doc
View Source
Value
Declaration
Property Value
Methods
|
Improve this Doc
View Source
IsValueCreated()
Declaration
public bool IsValueCreated()
Returns
Extension Methods