๐ŸŽ
ios.dev
search
โŒ˜Ctrlk
ios.devchevron-down
๐ŸŽ
ios.dev
  • ๐ŸŽios.dev
  • โญfeatures
  • ๐Ÿ‘”custom
  • ๐ŸฆSwift
    • ๐ŸŽฒmath functions
    • ๐Ÿ”ฐscope
      • ๐Ÿ”ธglobal scope
      • ๐Ÿ”ธlocal scope
      • ๐Ÿ”ธmodule
      • ๐Ÿ”นimport
      • ๐Ÿ”ธframework
        • ๐Ÿงฉbuilt-in frameworks
          • ๐ŸงฉFoundation
          • ๐ŸงฉCore Graphics
          • ๐ŸงฉSpriteKit
          • ๐ŸงฉCombine
            • ๐Ÿ…ฟ๏ธPublisher
              • ๐ŸถFuture
              • ๐Ÿ“ฆURLSession.DataTaskPublisher
            • โš™๏ธ Promise
            • ๐Ÿ”ธResult
            • โฐTimer
          • ๐ŸงฉAVFoundation
          • ๐ŸงฉSwift Charts
          • ๐ŸงฉMetal
          • ๐ŸงฉWeatherKit
    • โž•operator
    • ๐Ÿ€type
    • ๐Ÿ”ฐstatement
    • ๐Ÿ”ฐflow control
    • ๐Ÿ”ฐCollections
    • ๐Ÿ”ฐSubscripts
    • ๐Ÿ”ฐAttributes
    • ๐Ÿ”ฐPattern Matching
    • ๐Ÿ”ฐExceptions
    • ๐Ÿ›๏ธStandard Library
    • ๐Ÿ”ฐConcurrency
    • ๐Ÿ”ฐFile System
    • ๐Ÿ”ฐNetworking
    • ๐ŸžDebugging
    • ๐Ÿ”ฐInput/Output
    • ๐Ÿ”ฐRegex
    • ๐Ÿ”ฐAccess Control
  • ๐Ÿ”ฐSwiftUI
  • ๐ŸŽ›๏ธwidgets
  • ๐ŸŽData Structures
  • ๐Ÿง Algorithms
  • โ›ฑ๏ธSwift Playgrounds
  • ๐ŸฅAudio / Video
  • โ›”Errors
  • ้™„้Œ„
    • ๐ŸงฉSwift Package
    • ๐Ÿ”ฐDesign Patterns
    • ๐Ÿ› ๏ธXcode
    • ๐Ÿ’ผProjects
    • โœ…Testing System
    • Prototyping
    • ๐Ÿ’กTips
    • JSON
    • Terms
    • ๅ…ถไป–
    • ้›œ่จ˜ ๐Ÿ“ฅ
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. ๐ŸฆSwiftchevron-right
  2. ๐Ÿ”ฐscopechevron-right
  3. ๐Ÿ”ธframeworkchevron-right
  4. ๐Ÿงฉbuilt-in frameworkschevron-right
  5. ๐ŸงฉCombinechevron-right
  6. ๐Ÿ…ฟ๏ธPublisher

๐ŸถFuture

what is Result? Promise? Future? (#todo)

hashtag
้‡้ปžๆ•ด็†

  • Future executes as soon as it is created. It does not require a subscriber.

hashtag
ๅƒ่€ƒ่ณ‡ๆ–™

  • ๐Ÿ”ธ Result

  • โš™๏ธ Promise

  • Combine > Using Combine for Your Appโ€™s Asynchronous Codearrow-up-right

PreviousPublisherchevron-leftNextURLSession.DataTaskPublisherchevron-right

Last updated 5 years ago

  • ้‡้ปžๆ•ด็†
  • ๅƒ่€ƒ่ณ‡ๆ–™