wai-eventsource: Fix misleading doc on RepEventSource.
This commit is contained in:
parent
93b2c3acf1
commit
828c99fb7b
@ -22,8 +22,8 @@ import qualified Network.Wai.EventSource.EventStream as ES
|
||||
|
||||
|
||||
|
||||
-- | Phantom type used for 'Handler'@s@ that are @EventSources@
|
||||
-- (e.g. 'repEventSource' and 'ioToRepEventSource').
|
||||
-- | Data type representing a response of server-sent events
|
||||
-- (e.g., see 'repEventSource' and 'ioToRepEventSource').
|
||||
newtype RepEventSource =
|
||||
RepEventSource (C.Source (C.ResourceT IO) (C.Flush Builder))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user