to send an event, you have postEvent and sendEvent.