interfaces/terminable_middleware library

Classes

IDoxTerminableMiddleware
A middleware that runs code after the answer is sent to the client, like the terminate of Laravel. Good for work the client should not wait for: logs, metrics, cleanup.