chain(file:line:functionDescription:_:)

public func chain<C>(file: StaticString = #file, line: UInt = #line, functionDescription: String? = nil, _ keyPath: KeyPath<B,C>) -> Link<C>

Creates a new Link which accesses a keypath starting at B and ending at type C and appends the link to the execution list of this Link

  • C

    Declaration

    Swift

    public func chain<C>(file: StaticString = #file, line: UInt = #line, functionDescription: String? = nil, _ keyPath: KeyPath<B,C>) -> Link<C>