Vapor Documentation Beta

Class Application.​Locks

public final class Locks

Member Of

Application

Properties

main

let main: Lock

Methods

lock(for:​)

public func lock<Key>(for key: Key.Type) -> Lock where Key: LockKey