Slide 39
Slide 39 text
ؔܕ ܕΫϥεෆཁͷTASK API
TASKͱܕΫϥε
▸ TaskԆධՁ͢ΔࢀরಁաͳσʔλߏɻlawfulͳܕΫϥεΠϯελϯε༻ҙ͞Ε͍ͯΔɻ
▸ ७ਮؔܕͷઃܭΛͨ͠ιϑτΣΞͰ͍͍͢ɻ
▸ cats-effect:
▸ Effect, ConcurrentEffect, Async, Concurrent, ContextShift
▸ cats:
▸ MonadError, Applicative, Monad, CoFlatMap
▸ Parallel, Monoid, Semigroup
▸ FutureઌߦධՁͰ෭࡞༻ΛҾ͖ىͨ͜͢ΊɺMonadͷܕΫϥεͷlawΛຬͨ͞ͳ͍ɻ
MonadΛཁٻ͍ͯ͠Δͱ͜ΖͰFutureΛ͏ͱɺ༧ظͤ͵ΤϥʔΛҾ͖ى͜͢Մೳੑ͋Γɻ