# {py:mod}`simvx.core.background` ```{py:module} simvx.core.background ``` ```{autodoc2-docstring} simvx.core.background :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`BackgroundSlot ` - ```{autodoc2-docstring} simvx.core.background.BackgroundSlot :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`log ` - ```{autodoc2-docstring} simvx.core.background.log :summary: ``` ```` ### API ````{py:data} log :canonical: simvx.core.background.log :value: > 'getLogger(...)' ```{autodoc2-docstring} simvx.core.background.log ``` ```` `````{py:class} BackgroundSlot(*, thread_name: str = 'simvx-background') :canonical: simvx.core.background.BackgroundSlot ```{autodoc2-docstring} simvx.core.background.BackgroundSlot ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} simvx.core.background.BackgroundSlot.__init__ ``` ````{py:property} pending :canonical: simvx.core.background.BackgroundSlot.pending :type: bool ```{autodoc2-docstring} simvx.core.background.BackgroundSlot.pending ``` ```` ````{py:method} submit(fn: collections.abc.Callable[[], T]) -> bool :canonical: simvx.core.background.BackgroundSlot.submit ```{autodoc2-docstring} simvx.core.background.BackgroundSlot.submit ``` ```` ````{py:method} poll() -> T | None :canonical: simvx.core.background.BackgroundSlot.poll ```{autodoc2-docstring} simvx.core.background.BackgroundSlot.poll ``` ```` ````{py:method} cancel() -> None :canonical: simvx.core.background.BackgroundSlot.cancel ```{autodoc2-docstring} simvx.core.background.BackgroundSlot.cancel ``` ```` ````{py:method} close() -> None :canonical: simvx.core.background.BackgroundSlot.close ```{autodoc2-docstring} simvx.core.background.BackgroundSlot.close ``` ```` `````