chore:Fix up typos for unfoldResource* operators. (#1190)
This commit is contained in:
parent
1b63e60a30
commit
7eef4e017d
1 changed files with 2 additions and 2 deletions
|
|
@ -845,7 +845,7 @@ object Source {
|
|||
*
|
||||
* @param create - function that is called on stream start and creates/opens resource.
|
||||
* @param read - function that reads data from opened resource. It is called each time backpressure signal
|
||||
* is received. Stream calls close and completes when `read` returns None.
|
||||
* is received. Stream calls close and completes when `read` returns an empty Optional.
|
||||
* @param close - function that closes resource
|
||||
*/
|
||||
def unfoldResource[T, S](
|
||||
|
|
@ -871,7 +871,7 @@ object Source {
|
|||
*
|
||||
* @param create - function that is called on stream start and creates/opens resource.
|
||||
* @param read - function that reads data from opened resource. It is called each time backpressure signal
|
||||
* is received. Stream calls close and completes when `CompletionStage` from read function returns None.
|
||||
* is received. Stream calls close and completes when `CompletionStage` from read function returns an empty Optional.
|
||||
* @param close - function that closes resource
|
||||
*/
|
||||
def unfoldResourceAsync[T, S](
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue