Instance Method
insert(_:on:replace:)
Parameters
documentThe
LeafASTto storeloopEventLoopto return futures onreplaceIf a document with the same name is already cached, whether to replace or not.
Return Value
The document provided as an identity return (or a failed future if it can’t be inserted)