node module: Aspect-oriented (AOP) helper for sync or async code