Skip to main content

API

ReactiveProducerโ€‹

Declaration
class ReactiveProducer {
void payload(dynamic data, {bool complete = false})
void error(String message)
void cancel()
void complete()
void request(int count)
void unbound()
}

Methodsโ€‹

payloadโ€‹

Produces new payload data to a channel.

errorโ€‹

Produces new error data to a channel.

cancelโ€‹

Cancels a channel.

completeโ€‹

Completes a channel.

requestโ€‹

Requests new data from a channel.

unboundโ€‹

Requests infinity (2147483647) data from a channel.