The function more() is supposed to return an Observable from a get request
export class Collection{
public more = (): Observab
Several ways to create an Empty Observable:
They just differ on how you are going to use it further (what events it will emit after: next, complete or do nothing) e.g.:
Observable.never() - emits no events and never ends.Observable.empty() - emits only complete.Observable.of({}) - emits both next and complete (Empty object literal passed as an example).Use it on your exact needs)