Instance Method
insert(_:on:replace:)
func insert(_ document: LeafAST, on loop: any EventLoop, replace: Bool = false) -> EventLoopFuture<LeafAST>
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