HookTester

public final class HookTester<Parameter, Value>

Undocumented

  • Undocumented

    Declaration

    Swift

    public var value: Value { get }
  • Undocumented

    Declaration

    Swift

    public var valueHistory: [Value] { get }
  • Undocumented

    Declaration

    Swift

    public init(
        _ initialParameter: Parameter,
        _ hook: @MainActor @escaping (Parameter) -> Value,
        environment: (inout EnvironmentValues) -> Void = { _ in }
    )
  • Undocumented

    Declaration

    Swift

    public convenience init(
        scope: RecoilTestScope,
        _ hook: @MainActor @escaping (Parameter) -> Value
    ) where Parameter == Void
  • Undocumented

    Declaration

    Swift

    public func update(with parameter: Parameter)
  • Undocumented

    Declaration

    Swift

    public func update()
  • Undocumented

    Declaration

    Swift

    public func dispose()