Skip to main content

Inspect

Used for debugging changes to Seam states.

TypeSinceScoped
Utility0.3.3No

Constructor

Inspect(State : any, DebugName : string)

Usage

Inspect is a utility function that prints whenever the associated state changes. It's best used for debugging.

Example usage:

local Value = Seam.Value
local Inspect = Seam.Inspect

local Test = Value("Started")

Inspect(Test, "Test Value")

Test.Value = "Ended" -- Prints "SEAM_INSPECT | Test Value | Value changed to Ended"