-
- Downloads
Add async completion support to STTextView
The changes add support for async completion providers alongside the existing synchronous completion API. This allows completion providers to perform asynchronous work like network requests while maintaining cancellation support through structured concurrency. The implementation includes both sync and async code paths with proper task cancellation and logging.
Showing
- Sources/STTextViewAppKit/STTextView+Complete.swift 63 additions, 5 deletionsSources/STTextViewAppKit/STTextView+Complete.swift
- Sources/STTextViewAppKit/STTextView.swift 2 additions, 0 deletionsSources/STTextViewAppKit/STTextView.swift
- Sources/STTextViewAppKit/STTextViewDelegate.swift 8 additions, 0 deletionsSources/STTextViewAppKit/STTextViewDelegate.swift
- Sources/STTextViewAppKit/STTextViewDelegateProxy.swift 5 additions, 0 deletionsSources/STTextViewAppKit/STTextViewDelegateProxy.swift
- TextEdit/Mac/ViewController.swift 1 addition, 2 deletionsTextEdit/Mac/ViewController.swift
Loading
Please register or sign in to comment