# Events

**URL:** https://talk.remobjects.com/t/events/1298
**Category:** Train
**Created:** [October 8, 2012, 7:43am UTC](https://talk.remobjects.com/t/events/1298 "2012-10-08T07:43:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jeroenvandezan](https://talk.remobjects.com/user_avatar/talk.remobjects.com/jeroenvandezan/32/8216_2.png) [@jeroenvandezan](https://talk.remobjects.com/u/jeroenvandezan)
#### Post date: [October 8, 2012, 7:43am UTC](https://talk.remobjects.com/t/events/1298/1 "2012-10-08T07:43:50Z")

</div>

Hi,

Suppose I want to create a Train Class that needs some kind of a call back system…  
Is that possible?

---

<div class="post-metadata">

### Author: ![ck](https://talk.remobjects.com/user_avatar/talk.remobjects.com/ck/32/8740_2.png) [@ck](https://talk.remobjects.com/u/ck)
#### Post date: [October 9, 2012, 7:02am UTC](https://talk.remobjects.com/t/events/1298/2 "2012-10-09T07:02:46Z")

</div>

Sure. functions in js are objects too. Just accept an EcmaScriptObject as a parameter when hooking it up, then call the “Call” method on it when you want to invoke it.
