Vapor Documentation

Class Application.​Locks

public final class Locks  

Member Of

Application

Core type representing a Vapor application.

Properties

main

public let main: Lock

Methods

lock(for:​)

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