Instance Methodvapor 4.106.2Vapor
lock(for:)
Application.swift:70func lock<Key>(for key: Key.Type) -> NIOLock where Key : LockKey
func lock<Key>(for key: Key.Type) -> NIOLock where Key : LockKey
s5Vapor11ApplicationC5LocksC4lock3for21NIOConcurrencyHelpers7NIOLockVxm_tAA7LockKeyRzlF
What are these?
FNV24: [5CER7]
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
final class Locks
final class Application
Core type representing a Vapor application.
struct NIOLock
A threading lock based on libpthread
instead of libdispatch
.
protocol LockKey
let main: NIOLock