Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Mar 10, 2022
1 parent d445003 commit 5c999b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ download_result = @async_promise begin
Downloads.download("https://api.github.com/users/$(username)")
end

#=> Promise{Any}( <resolved>: "/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_LqoUCC" )
#=> Promise{Any}( <pending> )
```
```
Expand All @@ -33,7 +33,7 @@ The result is a *pending promise*: it might still running in the background!
```julia
download_result
#=> Promise{Any}( <resolved>: "/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_LqoUCC" )
#=> Promise{Any}( <pending> )
```
You can use `@await` to wait for it to finish, and get its value:
Expand Down

2 comments on commit 5c999b3

@fonsp
Copy link
Owner Author

@fonsp fonsp commented on 5c999b3 Mar 10, 2022

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/56353

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 5c999b35e396f28d72b0ce84e0854b7355dc1a8c
git push origin v0.1.0

Please sign in to comment.