Creates a write handler from given function f
.
Creates a write handler from given function f
.
Handling function, with arguments channel ID and write request.
import acolyte.reactivemongo.{ Request, WriteHandler, WriteOp, WriteResponse } val handler: WriteHandler = WriteHandler { // Returns a successful for 1 doc (_: WriteOp, _: Request) => WriteResponse(1 -> false) }
Empty query handler, not handling any request.
Write handler companion.