Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    object
    FastLazy<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Util
    Assembly: Akka.dll
    Syntax
    public sealed class FastLazy<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    FastLazy(Func<T>)

    Declaration
    public FastLazy(Func<T> producer)
    Parameters
    Type Name Description
    Func<T> producer

    Properties

    | Edit this page View Source

    Value

    Declaration
    public T Value { get; }
    Property Value
    Type Description
    T

    Methods

    | Edit this page View Source

    IsValueCreated()

    Declaration
    public bool IsValueCreated()
    Returns
    Type Description
    bool

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET