Skip to content

Commit 159833c

Browse files
committed
fix: make WendyConfig functions that should be public, public
Didn't realize this was broken until after deployment occurred because sample apps were compiling against latest deployment, not the pre-deployment code. That is being worked on to prevent things like this happening again. commit-id:2a8effba
1 parent 8d3e72d commit 159833c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/WendyConfig.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public final class WendyConfig {
3131
set { setConfig { $0.taskStatusListeners = newValue } }
3232
}
3333

34-
class func addTaskRunnerListener(_ listener: TaskRunnerListener) {
34+
public class func addTaskRunnerListener(_ listener: TaskRunnerListener) {
3535
setConfig { $0.taskRunnerListeners.append(WeakReferenceTaskRunnerListener(listener: listener)) }
3636
}
3737

38-
class func addTaskStatusListenerForTask(_ taskId: Double, listener: PendingTaskStatusListener) {
38+
public class func addTaskStatusListenerForTask(_ taskId: Double, listener: PendingTaskStatusListener) {
3939
setConfig { $0.taskStatusListeners.append(TaskStatusListener(taskId: taskId, weakRefListener: WeakReferencePendingTaskStatusListener(listener: listener))) }
4040

4141
// The task runner could be running this task right now and because it takes a while potentially to run a task, I need to notify the listener here. This should be the only use case to handle here, running of a task.

0 commit comments

Comments
 (0)