Functions
The following functions are available globally.
-
Undocumented
Declaration
Swift
public func event<Type>() -> CSEvent<Type>
-
Undocumented
Declaration
Swift
public func event() -> CSEvent<Void>
-
Undocumented
Declaration
Swift
public func property<T>(_ value: T, _ onApply: ((T) -> Void)? = nil) -> CSEventPropertyImpl<T> where T : Equatable
-
Undocumented
Declaration
Swift
public func property<T>(_ value: T, _ onApply: @escaping () -> Void) -> CSEventPropertyImpl<T>