public class SyncQuery
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
SynchronizedSpace |
fetch()
Invokes the request to sync (blocking).
|
<C extends CDACallback<SynchronizedSpace>> |
fetch(C callback)
Invokes the request to sync (asynchronously) with the provided
callback . |
io.reactivex.Flowable<SynchronizedSpace> |
observe()
Returns an
Flowable to which one can subscribe in order to fulfill this sync query. |
public io.reactivex.Flowable<SynchronizedSpace> observe()
Flowable
to which one can subscribe in order to fulfill this sync query.Flowable
instance.public SynchronizedSpace fetch()
SynchronizedSpace
instance.public <C extends CDACallback<SynchronizedSpace>> C fetch(C callback)
callback
.C
- callback type.callback
- callback.Copyright © 2019 Contentful, GmbH.. All Rights Reserved.