You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / history / HistorySavingThread

class

IPython.core.history:HistorySavingThread

source: /IPython/core/history.py :1103

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