mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-04 06:23:06 +00:00
Apply nph format
This commit is contained in:
parent
21cc0811bd
commit
08ba961f00
@ -235,7 +235,8 @@ proc stream(
|
|||||||
let node = codex[].node
|
let node = codex[].node
|
||||||
|
|
||||||
try:
|
try:
|
||||||
let res = await noCancel codex.streamData(session.stream, onChunk, chunkSize, filepath)
|
let res =
|
||||||
|
await noCancel codex.streamData(session.stream, onChunk, chunkSize, filepath)
|
||||||
if res.isErr:
|
if res.isErr:
|
||||||
return err($res.error)
|
return err($res.error)
|
||||||
except LPStreamError as e:
|
except LPStreamError as e:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user