Closed nielsboldt closed 10 years ago
Wrong project :-(
just FYI
We support Atomic updates right now but I'm really open to add more useful stuff into the API and I'll be happy to add what you need. To perform an Atomic update right now (if that's what you need), you can do something like :
bucket.atomicallyUpdate[MyData]("myKey") { currentValue =>
val usefulData = currentValue.uData
WS.url(s"http://myWebservice.com/service?data=${usefulData}").get().map { value =>
usefulData.copy(uData = value)
}
}
Are there any plans to support cas operations or would you accept a pull request