mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Update Sources/NIOPosix/Bootstrap.swift
This commit is contained in:
1 parent
82e4136319
commit
bee7ad9078
1 file changed
+1
-1
@@ -713,7 +713,7 @@ private extension Channel {
|
||||
/// A `ClientBootstrap` is an easy way to bootstrap a `SocketChannel` when creating network clients.
|
||||
///
|
||||
/// You may re-use a `ClientBootstrap` once you set it up and call `connect` multiple times on it.
|
||||
/// This way you ensure that the same `EventLoop`s will be shared across all your connections.
|
||||
/// This ensures all connections you create share the same ``EventLoop``.
|
||||
///
|
||||
/// Keep in mind that `ClientBoostrap` is not `Sendable` so you cannot share the same instance across
|
||||
/// multiple threads/`EventLoop`s. Creating a `ClientBootstrap` is cheap so instead of arranging
|
||||
|
||||
Reference in new issue
Block a user