We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66d4bd0 commit 82c32caCopy full SHA for 82c32ca
src/actors/runtime/AbstractActor.ts
@@ -95,7 +95,7 @@ export default abstract class AbstractActor {
95
async registerActorReminder<_Type>(
96
reminderName: string,
97
dueTime: Temporal.Duration,
98
- period: Temporal.Duration,
+ period: Temporal.Duration | undefined,
99
ttl?: Temporal.Duration,
100
state?: any,
101
) {
src/types/ActorReminder.type.ts
@@ -14,7 +14,7 @@ limitations under the License.
14
import { Temporal } from "@js-temporal/polyfill";
15
16
export type ActorReminderType = {
17
- period: Temporal.Duration; // e.g. 0h0m9s0ms
+ period: Temporal.Duration | undefined; // e.g. 0h0m9s0ms
18
dueTime?: Temporal.Duration; // e.g. 1m or 0h0m0s0ms defaults to 0s
19
data?: any; // the data to pass
20
ttl?: Temporal.Duration; // e.g. 1m
0 commit comments