refactor
This commit is contained in:
parent
3e22d60549
commit
e2a69c2cee
2 changed files with 17 additions and 7 deletions
|
@ -80,9 +80,7 @@ complete v = Stream.start v `B.append` Stream.end
|
|||
progress :: B.ByteString -> Integer -> BytesProcessed -> IO ()
|
||||
progress jsonbuffer size bytesprocessed = emit $ B.concat
|
||||
[ Stream.start $ Stream.AesonObject o
|
||||
, ",\"action\":"
|
||||
, jsonbuffer
|
||||
, "}"
|
||||
, Stream.addNestedObject "action" jsonbuffer
|
||||
, Stream.end
|
||||
]
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue