A callback allows you to execute code at various points in the persistence process. You can use these callbacks to easily implement cross-functional logic like logging, sampling, decoration, auditing, and validation (among other things). The Datastore API currently supports callbacks that execute before and after
put()
and delete()
operations. Support for fetch-related callbacks are expected to be added in a future release. For more info on this visit here