bundles / IPython latest / IPython / core / history / HistorySavingThread
class
IPython.core.history:HistorySavingThread
source: /IPython/core/history.py :1122
Signature
class HistorySavingThread ( history_manager : HistoryManager ) → None Members
Summary
This thread takes care of writing history to the database, so that the UI isn't held up while that happens.
Extended Summary
It waits for the HistoryManager's save_flag to be set, then writes out the history cache. The main thread is responsible for setting the flag when the cache size reaches a defined threshold.
Aliases
-
IPython.core.history.HistorySavingThread