QueryResponseMaker

trait QueryResponseMaker[T] extends (ChannelId, T) => Option[Try[Response]]

Creates a query response for given channel ID and result.

Type parameters:
T

Result type

Companion:
object
trait (ChannelId, T) => Option[Try[Response]]
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(chanId: ChannelId, result: T): Option[Try[Response]]
Value parameters:
chanId

ID of Mongo channel

result

Optional result to be wrapped into response

Inherited methods

override def toString(): String
Definition Classes
Function2 -> Any
Inherited from:
Function2
Inherited from:
Function2