apis now supports custom event emissions