Module: Teek::BackgroundNone Private

Defined in:
lib/teek/background_none.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Synchronous "background" work - runs on main thread, blocks UI.

FOR TESTING AND DEMONSTRATION ONLY.

This mode exists to show what happens WITHOUT background processing: the UI freezes during work. Use it in demos to contrast with :thread and :ractor modes which keep the UI responsive.

Not registered by default. To use:

require 'teek/background_none'
Teek::BackgroundWork.register_background_mode :none, Teek::BackgroundNone::BackgroundWork

Defined Under Namespace

Classes: BackgroundWork