how to make a typescript function an observable code example
Example: promise to observable typescript
import { from } from 'rxjs';
const observable = from(promise);
import { from } from 'rxjs';
const observable = from(promise);