Skip to main content Skip to complementary content

AsyncLazy Constructor

Overloads

AsyncLazy(Func<Task<T>>)

Initializes a new instance of the AsyncLazy<T> class.

AsyncLazy(Func<Task<T>>)

Initializes a new instance of the AsyncLazy<T> class.

Declaration

      public AsyncLazy(Func<Task<T>> factory)
    

Parameters

Type Name Description
System.Func<System.Threading.Tasks.Task<T>> factory

The asynchronous delegate that is invoked on a background thread to produce the value when it is needed.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com