* @param serverContext The specific DWR context in which to execute
*/
public static void withAllSessions(ServerContext serverContext, Runnable task)
{
TaskDispatcher taskDispatcher = TaskDispatcherFactory.get(serverContext);
taskDispatcher.dispatchTask(new AllScriptSessionFilter(), task);
}