Package-level declarations

Reactive endpoints allow you to receive data as push streams rather than explicitly pulling.

Types

Link copied to clipboard

Endpoint for a collection of TEntitys observable as an append-only stream.

Link copied to clipboard

Endpoint for a collection of TEntitys observable as an append-only stream.

Link copied to clipboard

Endpoint for a resource that can be polled for state changes.

Link copied to clipboard
open class PollingEndpointImpl<TEntity : Any>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, endCondition: (TEntity) -> Boolean? = null) : ElementEndpointImpl<TEntity> , PollingEndpoint<TEntity>

Endpoint for a resource that can be polled for state changes.

Link copied to clipboard
open class SseStreamingEndpointImpl<TEntity : Any>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, eventType: String? = null) : AbstractEndpoint, StreamingEndpoint<TEntity>

Endpoint for a stream of TEntitys using Server-Sent Events (SSE).

Link copied to clipboard

Endpoint for a collection of TEntitys observable as an append-only stream.

Link copied to clipboard

Endpoint for a collection of TEntitys observable as an append-only stream using long-polling.

Link copied to clipboard

Endpoint for a stream of TEntitys.

Link copied to clipboard
open class StreamingEndpointImpl<TEntity : Any>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, separator: String = "") : AbstractEndpoint, StreamingEndpoint<TEntity>

Endpoint for a stream of TEntitys using a persistent HTTP connection.

Functions

Link copied to clipboard
fun ObservableEmitter<*>.sleep(duration: Duration)

Sleep for the specified duration unless the emitter is disposed in the meantime.