coldbox.system.async.proxies

Class FutureFunction

lucee.Component
    extended by coldbox.system.async.proxies.BaseProxy
      extended by coldbox.system.async.proxies.Function
        extended by coldbox.system.async.proxies.FutureFunction

Functional Interface that maps to java.util.function.Function but will return the native future which is expected in the result of the called target

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any apply([any t])
         Represents a function that accepts one argument and produces a result.
     
    Methods inherited from class coldbox.system.async.proxies.Function
    andThen, compose, identity, init
     
    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

    Method Detail

    apply

    public any apply([any t])

    Represents a function that accepts one argument and produces a result. I have to use it like this because `super` does not work on ACF in a proxy

    Overrides:
    apply in class Function
    Parameters:
    t