# Creating a 3D slicer module that keeps running

**URL:** <https://discourse.slicer.org/t/creating-a-3d-slicer-module-that-keeps-running/4149>\
**Category:** Development\
**Created:** [September 19, 2018, 1:25pm UTC](https://discourse.slicer.org/t/creating-a-3d-slicer-module-that-keeps-running/4149 "2018-09-19T13:25:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JuanTelo](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@JuanTelo](https://discourse.slicer.org/u/JuanTelo)\
**Post date:** [September 19, 2018, 1:25pm UTC](https://discourse.slicer.org/t/creating-a-3d-slicer-module-that-keeps-running/4149/1 "2018-09-19T13:25:21Z")

</div>

Operating system: Windows  
Slicer version: 4.8.1

Hi I’m new to developing with 3D slicer and I want to know if it’s possible to create a module that does not stop running, that is, keeps running in the background while I use the module. If so, any tip on how that works?

---

<div class="post-metadata">

**Author:** ![adamrankin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/adamrankin/32/155_2.png) [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Post date:** [September 19, 2018, 1:37pm UTC](https://discourse.slicer.org/t/creating-a-3d-slicer-module-that-keeps-running/4149/2 "2018-09-19T13:37:33Z")

</div>

Few questions:

Do you mean keeps running after you switch to another module?  
Do you mean runs a process in another thread?  
Do you mean runs a recurring function (aka, driven by a timer?)
