Instance Method
remove(_:on:)
func remove(_ documentName: String, on loop: any EventLoop) -> EventLoopFuture<Bool?>
Parameters
documentNameName of the
LeafASTto try to purge from the cacheloopEventLoopto return futures on
Return Value
EventLoopFuture<Bool?> - If no document exists, returns nil. If removed, returns true. If cache can’t remove because of dependencies (not yet possible), returns false.