mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
change naming of function
This commit is contained in:
parent
80f91338aa
commit
f74462192b
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ local function batch(setter: () -> ())
|
||||||
|
|
||||||
if not already_batching then
|
if not already_batching then
|
||||||
flags.batch = true
|
flags.batch = true
|
||||||
from = graph.get_graph_length()
|
from = graph.get_update_queue_length()
|
||||||
end
|
end
|
||||||
|
|
||||||
local ok, err: string? = pcall(setter)
|
local ok, err: string? = pcall(setter)
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ local function queue_children_for_update<T>(node: SourceNode<T>)
|
||||||
update_queue.n = i
|
update_queue.n = i
|
||||||
end
|
end
|
||||||
|
|
||||||
local function get_graph_length()
|
local function get_update_queue_length()
|
||||||
return update_queue.n
|
return update_queue.n
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -282,6 +282,6 @@ return table.freeze {
|
||||||
create_source_node = create_source_node,
|
create_source_node = create_source_node,
|
||||||
get_children = get_children,
|
get_children = get_children,
|
||||||
flush_update_queue = flush_update_queue,
|
flush_update_queue = flush_update_queue,
|
||||||
get_graph_length = get_graph_length,
|
get_update_queue_length = get_update_queue_length,
|
||||||
scopes = scopes
|
scopes = scopes
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue