glue-core-0.4.9: Make better services and clients.

Safe HaskellSafe
LanguageHaskell2010

Glue.Switching

Description

Module containing a switchable service, allowing the possibility of changing | a service "live".

Synopsis

Documentation

switchingService Source #

Arguments

:: (MonadBase IO m, MonadBase IO n) 
=> MultiGetService m a b

The service to initialise the switching service with.

-> n (MultiGetService m a b, MultiGetService m a b -> n ()) 

Provides a switchable service.