bundles / IPython 9.17.0 / IPython / core / history / HistorySavingThread
class
IPython.core.history:HistorySavingThread
Signature
class HistorySavingThread(history_manager: HistoryManager) → NoneMembers
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