MCPcopy Create free account
hub / github.com/cogentcore/core / AsyncUpdateTable

Method AsyncUpdateTable

tensor/tensorcore/table.go:149–155  ·  view source on GitHub ↗

AsyncUpdateTable updates the display for asynchronous updating from other goroutines. Also updates indexview (calling Sequential).

()

Source from the content-addressed store, hash-verified

147// AsyncUpdateTable updates the display for asynchronous updating from
148// other goroutines. Also updates indexview (calling Sequential).
149func (tb *Table) AsyncUpdateTable() {
150 tb.AsyncLock()
151 tb.Table.Sequential()
152 tb.ScrollToIndexNoUpdate(tb.SliceSize - 1)
153 tb.Update()
154 tb.AsyncUnlock()
155}
156
157// SetIndexView sets the source IndexView of a table (using a copy so original is not modified)
158// and then configures the display

Callers

nothing calls this directly

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls 5

AsyncLockMethod · 0.80
SequentialMethod · 0.80
ScrollToIndexNoUpdateMethod · 0.80
AsyncUnlockMethod · 0.80
UpdateMethod · 0.65

Tested by

no test coverage detected