Query.Statement.executeWithCallback()

Signature

void executeWithCallback(String statementName, String listenerName, String callbackUri, boolean isContinuous, Object closure)

Domain

ACTION

Description

Executes a query and binds a callback rule function to it.

Parameters

NameTypeDescription
statementNameStringname of the statement to execute.
listenerNameStringname of the listener to create.
callbackUriString
  • Object closure: the closure provided to executeWithCallback.
  • isContinuousbooleantrue for the statement to be executed in continuous mode.
    closureObjectthat will be blindly returned through a callback parameter.

    Returns

    TypeDescription
    void

    Cautions

    none