PullSubscriber constructor
PullSubscriber(
- Pointer<
Uint8> _subscriberHandle, - Pointer<
Uint8> _handlerHandle, - Pointer<
Uint8> _teeHandle, - ReceivePort _receivePort,
- String _keyExpr,
- ChannelKind _kind, [
- bool _retainPayload = false,
Internal constructor. Use Session.declarePullSubscriber instead.
Implementation
PullSubscriber(
this._subscriberHandle,
this._handlerHandle,
this._teeHandle,
this._receivePort,
this._keyExpr,
this._kind, [
// Positional rather than named: `_retainPayload` is private, and this is
// an internal constructor reached only from Session/Querier.
// ignore: avoid_positional_boolean_parameters
this._retainPayload = false,
]) {
_receivePort.listen(_onWake);
}