# Save data without blocking the main thread

**URL:** <https://discourse.slicer.org/t/save-data-without-blocking-the-main-thread/26886>\
**Category:** Support\
**Created:** [December 22, 2022, 2:43pm UTC](https://discourse.slicer.org/t/save-data-without-blocking-the-main-thread/26886 "2022-12-22T14:43:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Osspoor](https://avatars.discourse-cdn.com/v4/letter/o/848f3c/32.png) [@Osspoor](https://discourse.slicer.org/u/Osspoor)\
**Post date:** [December 22, 2022, 2:43pm UTC](https://discourse.slicer.org/t/save-data-without-blocking-the-main-thread/26886/1 "2022-12-22T14:43:08Z")

</div>

Hello! How can I save a certain data in the scene or the whole scene without blocking the main thread (I can do anything else during the save)

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [December 22, 2022, 3:26pm UTC](https://discourse.slicer.org/t/save-data-without-blocking-the-main-thread/26886/2 "2022-12-22T15:26:46Z")

</div>

Not currently as far as I know. Implementing this feature would require changes at the C++ level which are not impossible but would require some work by someone with the right skillset.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 22, 2022, 10:45pm UTC](https://discourse.slicer.org/t/save-data-without-blocking-the-main-thread/26886/3 "2022-12-22T22:45:50Z")

</div>

You can make saving really fast if you only save what is changed and don’t use compression.
