Skip to content

Rename `EventLoopFuture.mapFromRESP` to follow 'map' semantics

From #48 (closed):

  • EventLoopFuture.mapFromRESP is not a map-like function for 2 reasons:
    1. because it may fail, ie. go from the future's success track to the future's failed track and that's not something map functions usually do.
    2. it doesn't actually take a function to map. Maybe should it be named tryConvert<Type>(to: Type.Type)?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information