T
- The type of the provided object.public interface IndirectProvider<T>
Provider
, but instead of returning the provided object, the
user must pass a callback in which the object is handled. This makes it
possible to use the Provider
for code-splitting. This feature should
be available in a later release of GIN. See GIN Issue
61 for details.Modifier and Type | Method and Description |
---|---|
void |
get(AsyncCallback<T> callback)
Asynchronously get the provided object.
|
void get(AsyncCallback<T> callback)
callback
- The AsyncCallback
to invoke once the object is
available. The parameter to the callback will be the provided
object.Copyright © 2010–2014 Arcbees. All rights reserved.