Operator
->>
infix operator ->>: AdditionPrecedence
The query results depdents on operator.
Implementations
RestQueryResult<Query> ->> RestQueryResult<Query> where Query: RestQuery
func ->> <Query>(lhs: RestQueryResult<Query>, rhs: RestQueryResult<Query>) -> RestQueryResult<Query> where Query: RestQuery
The query results depdents on operator.
Joins two queries on the success of the left-hand side. If the operation succeeds, the right-hand side is triggered.
Usage:
($someQuery <- someValue ->> $someDependentQuery<!).success {
...
}
Reference
Parameters
| Name | Type | Description |
|---|---|---|
| lhs | RestQueryResult<Query> |
The query instance used to make the dependable request. |
| rhs | RestQueryResult<Query> |
The dependent query that's triggered on the success of the left-hand side. |
Returns
A future that will resolve to the new value or an error.