Question: How in the OpenRTI to make the rti send callbacks? For example, reserve a name with the `reserveObjectInstanceName`

```
_rtiAmbassador->reserveObjectInstanceName(name);

```

Errors:

> 
> terminate called after throwing an instance of
>  'rti1516e::ObjectInstanceNameNotReserved'
> 
> 
>

Answer: 
Can you try something like this:

```
import { interval } from 'rxjs';

interval(1000).subscribe(x => {
// something
});

```
Use `timer` if you want to **wait n seconds before the first run** or **run it immediately** and then every n seconds.

Wait 3 seconds and then run every second:

```js
import { timer } from 'rxjs';

timer(3000, 1000).subscribe(x => {
// something
});

```

Run immediately and after that every 1 second (I don't know if this is the most elegant way to do it, but it's much simpler than other solutions I've seen, and it works):

```js
import { timer } from 'rxjs';

timer(0, 1000).subscribe(x => {
// something
});

```