LoaderBlock

public class LoaderBlock<Input, Output> : LoaderAbstract<Input, Output>, @unchecked Sendable

通用block加载器

  • Undocumented

    Declaration

    Swift

    public init(_ block: @escaping @Sendable (Input) throws -> Output)
  • 指定输入,加载输出

    Declaration

    Swift

    override public func load(_ input: Input) throws -> Output