Skip to content

Add autoSubscribe option to driver factory

Compare
Choose a tag to compare
@staltz staltz released this 24 Aug 11:02
· 112 commits to master since this release

You can affect whether the request Observable will be automatically subscribed when calling httpDriver(request$) by giving the autoSubscribe option to the factory: makeHTTPDriver({autoSubscribe: true}). Default value for autoSubscribe is true, so to force lazy behavior, call httpDriver = makeHTTPDriver({autoSubscribe: false}).

Implements to #14.