koapy.backend.kiwoom_open_api_plus.utils.queue.QueueBasedIterableObserver

Module Contents

Classes

QueueBasedIterableObserverIterator

QueueBasedIterableObserver

Observer abstract base class

class koapy.backend.kiwoom_open_api_plus.utils.queue.QueueBasedIterableObserver.QueueBasedIterableObserverIterator(queue, sentinel)[source]

Bases: koapy.backend.kiwoom_open_api_plus.utils.queue.QueueIterator.BufferedQueueIterator

next(block=True, timeout=None)[source]
head()[source]
class koapy.backend.kiwoom_open_api_plus.utils.queue.QueueBasedIterableObserver.QueueBasedIterableObserver(queue=None, maxsize=None)[source]

Bases: rx.core.typing.Observer

Observer abstract base class

An Observer is the entity that receives all emissions of a subscribed Observable.

property queue[source]
on_next(value)[source]

Notifies the observer of a new element in the sequence.

Parameters:

value – The received element.

on_error(error)[source]

Notifies the observer that an exception has occurred.

Parameters:

error – The error that has occurred.

on_completed()[source]

Notifies the observer of the end of the sequence.

stop()[source]