Interface MatrixUserCall<T>
- Type Parameters:
T- the operation result type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A Matrix client API operation run with one account's access token, which
MatrixService mints and refreshes once when Synapse rejects it.-
Method Summary
-
Method Details
-
call
Runs the operation.- Parameters:
accessToken- the account's access token- Returns:
- the operation result
- Throws:
Exception- any failure of the operation, aMatrixUnauthorizedExceptionwhen the token is rejected
-