Ma imos anmizlay jir Scala Future onComplete d andThen functions?
Hak id `andThen` d `onComplete` addoben akayad n ittus n addabara tan n alɣalim s callback function Hak id ijja awen, `andThen` addobat ad eqqil a eqqalan chained, tolas war eqqel chund `onComplete`, ikfa turhajat i alxidmaten tin callback Daɣ asiwad, isalan wi ∀andThen∀ iknanen addoben ad aqqilan alxidmat taqqalat tazune, war n axdam ɣas s taqqimt n ittusan (almital, ɣas ∀Success∀ meɣ ɣas ∀Failure∀)  Eket daɣ almital wa id eqqalan axadam n `andThen` d `map`:  Eɣaf n alɣalim DefAndThen (futur: Future[Int]): Future[Int] = { "fut.andThen {case Success{"value"} => println{"s"andThen1: $value") } .andThen {case Success (value) => println (s"andThen2: $value") } . {map i => println ((s"map: $i") Eqal ? Ijjit ? Ijjit Eɣaf n alɣalim  Alwaq wa id `fut` ikna amutti s tihussay, "andthen1:...", "andThen2:..." d "map:..." ad aqqilan iktaban daɣ edag wen  Eket almital olahan s axadam n ∀onComplete∀ d ∀map∀:  Eɣaf n alɣalim defOnComplete ((fut: Future[Int]): Future[Int] = { Fut.onComplete { t: Try[Int] => println{"s"onComplete1: $t") } Fut.onComplete { t: Try[Int] => println{"s"onComplete2: $t") } Fut.map { i => println ((s"map: $i") Eqal ? Ijjit ? Ijjit Eɣaf n alɣalim  Daɣ almaɣna wen, alwaq wa id `fut` ikna amutti s tihussay, "onComplete1:...", "onComplete2:..." d "map:..." ad idhilan daɣ iddikud war n ila akayad  Ahuskat as `andThen` eqal aygan, əšiɣil wan asinihigi winan eqel agudiyan aygan agaraw ən `Future`. Mašan aliɣi: afal təmuqunt taqalat aśibaban iyad ən təmuqunen, ihinan wi amutaynen winan eqel dak.