Small coroutine fix
This commit is contained in:
@@ -39,9 +39,6 @@ end
|
||||
|
||||
---@splitClass
|
||||
|
||||
--- This is the benchmark plugin. It provides performance measurement tools for elements and methods,
|
||||
--- with support for hierarchical profiling and detailed statistics.
|
||||
--- The following methods are available for BaseElement
|
||||
---@class BaseElement
|
||||
local BaseElement = {}
|
||||
|
||||
@@ -298,8 +295,10 @@ function Container:stopContainerBenchmark(methodName)
|
||||
return self
|
||||
end
|
||||
|
||||
--- Benchmark API methods
|
||||
---@class BenchmarkAPI
|
||||
--- This is the benchmark plugin. It provides performance measurement tools for elements and methods,
|
||||
--- with support for hierarchical profiling and detailed statistics. The plugin is meant to be used for very big projects
|
||||
--- where performance is critical. It allows you to measure the time taken by specific methods and log the results.
|
||||
---@class Benchmark
|
||||
local API = {}
|
||||
|
||||
--- Starts a custom benchmark
|
||||
|
||||
@@ -195,6 +195,10 @@ end)
|
||||
|
||||
--- This module provides reactive functionality for elements, it adds no new functionality for elements.
|
||||
--- It is used to evaluate expressions in property values and update the element when the expression changes.
|
||||
--- @usage local button = main:addButton({text="Exit"})
|
||||
--- @usage button:setX("{parent.x - 12}")
|
||||
--- @usage button:setBackground("{self.clicked and colors.red or colors.green}")
|
||||
--- @usage button:setWidth("{self.text:len() + 2}")
|
||||
---@class Reactive
|
||||
local BaseElement = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user