execOutsideUI{}

Purpose

Executes a block of code outside of the UI Thread.

Examples

class SampleController {
    def action = { evt = null ->
        execOutsideUI {
            // long running computation
        }
    }
}

Description

See the threading section for more information about this method and others like it.