The event occurs after inserting values into database and can can be used to pass additional values to client-side.
$conn->event->attach("afterInsert",handlerFunc);
Parameters handlerFunc:
Availability:
Sample: