lucee.Componentcoldbox.system.async.proxies.BaseProxy
coldbox.system.async.proxies.Supplier
Constructor Summary | |
---|---|
init(any supplier, [any method='run'], [boolean debug='false'], [boolean loadAppContext='true'])
Constructor. |
Method Summary | |
---|---|
any
|
get()
Functional interface for supplier to get a result. |
Methods inherited from class coldbox.system.async.proxies.BaseProxy |
---|
err, getCFMLContext, getConcurrentEngineLockName, getCurrentThread, getDebug, getLoadAppContext, getSystem, getTarget, getThread, getThreadName, loadContext, out, setDebug, setLoadAppContext, setSystem, setTarget, setThread, unLoadContext |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
supplier
- The lambda or closure that will supply the elementsmethod
- An optional method in case the supplier is a CFC instead of a closuredebug
- Add debugging or notloadAppContext
- By default, we load the Application context into the running thread. If you don't need it, then don't load it.Method Detail |
---|
Functional interface for supplier to get a result See https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html