You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You have to pass a `workFactory` that takes input and returns an `Observable`. T
23
23
Actions can only execute one thing at a time. If you try to execute an action that's currently executing, you'll get an error. The `executing` property sends `true` and `false` values as `Next` events.
24
24
25
25
```swift
26
-
action= Action<String, Bool>=Action(workFactory: { input in
26
+
action: Action<String, Bool>=Action(workFactory: { input in
27
27
return networkLibrary.checkEmailExists(input)
28
28
})
29
29
@@ -39,7 +39,7 @@ You can also specify an `enabledIf` parameter to the `Action` initializer.
39
39
```swift
40
40
let validEmailAddress = emailTextField.rx_text.map(isValidEmail)
41
41
42
-
action= Action<String, Bool>=Action(enabledIf: validEmailAddress, workFactory: { input in
42
+
action: Action<String, Bool>=Action(enabledIf: validEmailAddress, workFactory: { input in
0 commit comments