You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
28 lines
1.1 KiB
-- ------------------------------------------------------------------------------ --
|
|
-- TradeSkillMaster --
|
|
-- https://tradeskillmaster.com --
|
|
-- All Rights Reserved - Detailed license information included with addon. --
|
|
-- ------------------------------------------------------------------------------ --
|
|
|
|
local TSM = select(2, ...) ---@type TSM
|
|
local Reactive = TSM.Init("Util.Reactive") ---@class Util.Reactive
|
|
local StateSchema = TSM.Include("Util.ReactiveClasses.StateSchema")
|
|
local Stream = TSM.Include("Util.ReactiveClasses.Stream")
|
|
|
|
|
|
|
|
-- ============================================================================
|
|
-- Module Methods
|
|
-- ============================================================================
|
|
|
|
---Creates a new state schema object.
|
|
---@return ReactiveStateSchema @The state schema
|
|
function Reactive.CreateStateSchema()
|
|
return StateSchema.Create()
|
|
end
|
|
|
|
---Creates a new stream object.
|
|
---@return ReactiveStream @The stream
|
|
function Reactive.CreateStream()
|
|
return Stream.Create()
|
|
end
|
|
|