README.md in acfs-0.34.1.1.b289 vs README.md in acfs-0.35.0

- old
+ new

@@ -280,10 +280,27 @@ Acfs.run # Would have raised Acfs::RealRequestNotAllowedError # Will run real request to user service instead. end ``` +## Instrumentation + +Acfs supports [instrumentation via active support][1]. + +Acfs expose to following events + +* `acfs.operation.complete(operation, response)`: Acfs operation completed +* `acfs.runner.sync_run(operation)`: Run operation right now skipping queue. +* `acfs.runner.enqueue(operation)`: Enqueue operation to be run later. +* `acfs.before_run`: directly before `acfs.run` +* `acfs.run`: Run all queued operations. + +Read [official guide][2] to see to to subscribe. + +[1]: http://guides.rubyonrails.org/active_support_instrumentation.html +[2]: http://guides.rubyonrails.org/active_support_instrumentation.html#subscribing-to-an-event + ## Roadmap * Update * Better new? detection eg. storing ETag from request resources. * Use PATCH for with only changed attributes and `If-Unmodifed-Since` @@ -311,9 +328,10 @@ ## Contributors * [Nicolas Fricke](https://github.com/nicolas-fricke) * [Tino Junge](https://github.com/tino-junge) +* [Malte Swart](https://github.com/mswart) ## License MIT License