Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chronos/internal/asyncfutures.nim
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type
FutureCompletedError* = object of FutureError
## Error raised when trying access the error of a completed Future

SomeFuture = Future|InternalRaisesFuture
SomeFuture* = Future|InternalRaisesFuture
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this type is deliberately private because the whole idea of how this is implemented might change soonish - for now, it's better to use InternalRaisesFuture directly in code that needs it which will make it easy to find, once a stable future type is created.


func raiseFuturePendingError(fut: FutureBase) {.
noinline, noreturn, raises: FuturePendingError.} =
Expand Down