Skip to main content

Crate floxide_reactive

Crate floxide_reactive 

Source
Expand description

Support for reactive patterns in the Floxide framework.

This crate provides the ReactiveNode trait and related implementations for handling reactive patterns that respond to changes in external data sources.

Structs§

CustomReactiveNode
A custom reactive node that uses a provided closure to create the watch stream and react to changes.
FileChange
Represents a file change detected by the FileWatcherNode
FileWatcherNode
A node that watches a file for changes
ReactiveNodeAdapter
An adapter that allows a ReactiveNode to be used as a standard Node. This adapter handles the streaming and change detection.

Enums§

ReactiveError
Errors specific to reactive operations

Traits§

DefaultReactiveNode
Default implementations for FileWatcherNode with DefaultAction
ReactiveActionExt
ReactiveNode
Trait for nodes that react to changes in external data sources

Functions§

action_from_change
A helper function to create an action from a change

Type Aliases§

ChangeHandlerFn
A handler function for file changes