execInsideUIAsync{}

Purpose

Executes a block of code by making an asynchronous call inside the UI Thread.

Examples

class SampleController {
    def action = { evt = null ->
        execInsideUIAsync { model.value = 'some deferred update' }
    }
}

Description

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