Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
benlau committed Mar 15, 2018
1 parent d5ad075 commit dc9dda5
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 @@ -343,7 +343,7 @@ Register a onCompleted and/or onCanceled callback to the observed QFuture object

Remarks: Before v0.3.2, the callback will be executed in the current thread.

See [OnCompleted Callback Function](#oncompleted-callback-funcion)
See [Subscribe Callback Function](#subscribe-callback-funcion)

Example:

Expand Down Expand Up @@ -494,7 +494,7 @@ return defer.future(); // It is a future with progress value same as the mappedF
Advanced Topics
=======

OnCompleted Callback Funcion
Subscribe Callback Funcion
---------------

In subscribe() / context(), you may pass a function with zero or one argument as the onCompleted callback. If you give it an argument, the type must be either of T or QFuture<T>. That would obtain the result or the observed future itself.
Expand Down

0 comments on commit dc9dda5

Please sign in to comment.