File tree 4 files changed +6
-6
lines changed
daprdocs/content/en/js-sdk-docs/js-server
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ const daprServer = new DaprServer({
112
112
serverPort: " 50002" , // App Port
113
113
serverHttp: myApp ,
114
114
clientOptions: {
115
- daprHost ,
116
- daprPort ,
115
+ daprHost
116
+ daprPort
117
117
}
118
118
});
119
119
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export default abstract class AbstractActor {
95
95
async registerActorReminder < _Type > (
96
96
reminderName : string ,
97
97
dueTime : Temporal . Duration ,
98
- period : Temporal . Duration ,
98
+ period ? : Temporal . Duration ,
99
99
ttl ?: Temporal . Duration ,
100
100
state ?: any ,
101
101
) {
@@ -115,7 +115,7 @@ export default abstract class AbstractActor {
115
115
timerName : string ,
116
116
callback : string ,
117
117
dueTime : Temporal . Duration ,
118
- period : Temporal . Duration ,
118
+ period ? : Temporal . Duration ,
119
119
ttl ?: Temporal . Duration ,
120
120
state ?: any ,
121
121
) {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ limitations under the License.
14
14
import { Temporal } from "@js-temporal/polyfill" ;
15
15
16
16
export type ActorReminderType = {
17
- period : Temporal . Duration ; // e.g. 0h0m9s0ms
17
+ period ? : Temporal . Duration ; // e.g. 0h0m9s0ms
18
18
dueTime ?: Temporal . Duration ; // e.g. 1m or 0h0m0s0ms defaults to 0s
19
19
data ?: any ; // the data to pass
20
20
ttl ?: Temporal . Duration ; // e.g. 1m
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ limitations under the License.
14
14
import { Temporal } from "@js-temporal/polyfill" ;
15
15
16
16
export type ActorTimerType = {
17
- period : Temporal . Duration ; // e.g. 0h0m9s0ms
17
+ period ? : Temporal . Duration ; // e.g. 0h0m9s0ms
18
18
dueTime ?: Temporal . Duration ; // e.g. 1m or 0h0m0s0ms defaults to 0s
19
19
data ?: any ; // the data to pass
20
20
ttl ?: Temporal . Duration ; // e.g. 1m
You can’t perform that action at this time.
0 commit comments