Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import Foundation
/// Facilitates communication with the backend for a ``LiveSession``.
///
/// Using an actor will make it easier to adopt session resumption, as we have an isolated place for
/// mainting mutablity, which is backed by Swift concurrency implicity; allowing us to avoid various
/// edge-case issues with dead-locks and data races.
/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid
/// various edge-case issues with dead-locks and data races.
///
/// This mainly comes into play when we don't want to block developers from sending messages while a
/// session is being reloaded.
Expand Down Expand Up @@ -54,7 +54,7 @@ actor LiveSessionService {
private let jsonEncoder = JSONEncoder()
private let jsonDecoder = JSONDecoder()

/// Long running task that that wraps around the websocket, propogating messages through the
/// Long running task that that wraps around the websocket, propagating messages through the
/// public stream.
private var responsesTask: Task<Void, Never>?

Expand Down Expand Up @@ -273,7 +273,7 @@ actor LiveSessionService {
}
}

/// Checks if an error should be propogated up, and maps it accordingly.
/// Checks if an error should be propagated up, and maps it accordingly.
///
/// Some errors have public api alternatives. This function will ensure they're mapped
/// accordingly.
Expand Down
4 changes: 2 additions & 2 deletions scripts/repo/Sources/Util/Process.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public extension Process {
/// - env: A map of environment variables to set for the process.
/// - inheritEnvironment: When enabled, the parent process' environvment will also be applied
/// to this process. Effectively, this means that any environvment variables declared within the
/// parent process will propogate down to this new process.
/// parent process will propagate down to this new process.
convenience init(_ exe: String,
_ args: [String] = [],
env: [String: String] = [:],
Expand Down Expand Up @@ -59,7 +59,7 @@ public extension Process {

/// Run the process with signals from the parent process.
///
/// The signals `SIGINT` and `SIGTERM` will both be propogated
/// The signals `SIGINT` and `SIGTERM` will both be propagated
/// down to the process from the parent process.
///
/// This function will not return until the process is done running.
Expand Down
Loading