Question: I am in the situation, where I want to provide a link (obtained via Share option) to view all the project (i.e. folder structure with files inside). This is working without any problem. Now, I want to also provide a link to edit the particular subfolder. Again, I got link and through it I can edit files inside the subfolder. But the problem is that if I use 1st link (the view one) I am able to edit the subfolder even though I do not have permissions to do that (I suppose permissions are given by the 2nd link).

---

root folder (view link)

* subfolder 1 (edit link; can edit with the view link)
	+ file 1
	+ file 2
* subfolder 2
	+ file 3
	+ file 4

---

Is it a feature or I am doing something wrong?

Thank you,
Jirka

Answer: 
Before RxJs 6:

`Observable.timer(0, 1000)` will start immediately.

RxJs 6+

```
import {timer} from 'rxjs/observable/timer';
timer(0, 1000).subscribe(() => { ... });

```
> 
> RxJs 6. **Note: With this solution, `0` value will be emitted twice** (one time immediately by `startWith`, and one time by `interval` stream after the first "tick", so if you care about the value emitted, you could consider startWith(-1) instead of startWith(0)
> 
> 
> 

```
interval(100).pipe(startWith(0)).subscribe(() => { //your code }); 

```

or with timer:

```
import {timer} from 'rxjs/observable/timer';
timer(0, 100).subscribe(() => {

    });

```