private async void DelayedTask() { await Task.Delay(4000); using var access = LaraUI.Document.StartServerEvent(); _span.ClearChildren(); _span.AppendText("server event executed"); }
public ServerEventsPage() { _span = new HtmlSpanElement(); _span.AppendText("waiting for server event..."); }