init(with:)

Creates an empty list, and initializes it with the given closure.

BSON.List (ext).swift:13
init(with encode: (inout BSON.ListEncoder) throws -> ()) rethrows