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' }
}
}
(Quick Reference)
execInsideUISync{}PurposeExecutes a block of code by making a synchronous call inside the UI Thread.Examplesclass SampleController {
def action = { evt = null ->
execInsideUISync { model.value = 'some immediate update' }
}
} DescriptionSee the threading section for more information about this method and others like it. |
AddonsCommand LineGriffon Shell |