12- Composing Completable Futures

6:08 2 & Kefluniañ 3 Pennadoù 133 reizhennoù

Pennadoù

  1. 0:03

    Quite often we want to start a task upon completion of another task. For example, let's say we have the idea of a user Now we want to get the user's email So we have to go to our database and read that user record with this we can get their…

  2. 1:03

    Now, this returns a completable future of string, right? So completable future of string. Now, we want to start the second task upon completion of the first task. To do that, we call future dot then compose. Now here we should pass a functi…

  3. 6:04

    a declarative way.