execInsideUISync{}
Purpose
Executes a block of code by making a synchronous call inside the UI Thread.Examples
class SampleController {
def action = { evt = null ->
execInsideUISync { model.value = 'some immediate update' }
}
}
Description
See the threading section for more information about this method and others like it.