| License | BSD3-style (see the file LICENSE) |
|---|---|
| Safe Haskell | None |
| Language | Haskell2010 |
Miso.Flow.Utils.Connections
Description
Pure port of utils/connections.ts from @xyflow/system.
Documentation
areConnectionMapsEqual :: Maybe (Map MisoString HandleConnection) -> Maybe (Map MisoString HandleConnection) -> Bool Source #
Two connection maps hold the same connection keys.
handleConnectionChange :: Map MisoString HandleConnection -> Map MisoString HandleConnection -> [HandleConnection] Source #
Connections in a that are not in b (used to fire
connect/disconnect callbacks).
getConnectionStatus :: Maybe Bool -> Maybe MisoString Source #
'valid' / 'invalid' status string for an ongoing connection.