Protocolfwcd.swift-utils 4.6.2Utils
AsyncBijection
AsyncBijection.swift:1protocol AsyncBijection : Sendable
Browse conforming typesprotocol AsyncBijection : Sendable
import Utils
protocol Sendable
associatedtype Value : Sendable
func apply(_ value: Value) async -> Value
func inverseApply(_ value: Value) async -> Value
var inverse: InverseAsyncBijection<Self> { get }
func compose<B>(_ inner: B) -> ComposedAsyncBijection<Self, B> where B : AsyncBijection, Self.Value == B.Value
func then<B>(_ outer: B) -> ComposedAsyncBijection<B, Self> where B : AsyncBijection, Self.Value == B.Value
protocol Bijection : AsyncBijection