Handler used to obtain query results from peers when a transaction is evaluated.
Methods
-
<async> evaluate(query)
-
Called when a transaction is evaluated to obtain query results from suitable network peers.
Parameters:
Name Type Description query
module:fabric-network.Query Query object that can be used by the handler to send the query to specific peers. Returns:
- Type
- Promise.<Buffer>