@fluidframework/agent-scheduler 2.33.0-333010 → 2.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
// @alpha (undocumented)
|
|
7
|
+
// @alpha @legacy (undocumented)
|
|
8
8
|
export class AgentSchedulerFactory implements IFluidDataStoreFactory {
|
|
9
9
|
// (undocumented)
|
|
10
10
|
static createChildInstance(parentContext: IFluidDataStoreContext): Promise<IAgentScheduler>;
|
|
@@ -20,10 +20,10 @@ export class AgentSchedulerFactory implements IFluidDataStoreFactory {
|
|
|
20
20
|
readonly type = "_scheduler";
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
// @alpha (undocumented)
|
|
23
|
+
// @alpha @legacy (undocumented)
|
|
24
24
|
export const IAgentScheduler: keyof IProvideAgentScheduler;
|
|
25
25
|
|
|
26
|
-
// @alpha
|
|
26
|
+
// @alpha @legacy
|
|
27
27
|
export interface IAgentScheduler extends IProvideAgentScheduler, IEventProvider<IAgentSchedulerEvents>, IFluidLoadable {
|
|
28
28
|
pick(taskId: string, worker: () => Promise<void>): Promise<void>;
|
|
29
29
|
pickedTasks(): string[];
|
|
@@ -31,24 +31,24 @@ export interface IAgentScheduler extends IProvideAgentScheduler, IEventProvider<
|
|
|
31
31
|
release(...taskUrls: string[]): Promise<void>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
// @alpha
|
|
34
|
+
// @alpha @legacy
|
|
35
35
|
export interface IAgentSchedulerEvents extends IEvent {
|
|
36
36
|
(event: "picked" | "released" | "lost", listener: (taskId: string) => void): any;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
// @alpha (undocumented)
|
|
39
|
+
// @alpha @legacy (undocumented)
|
|
40
40
|
export interface IProvideAgentScheduler {
|
|
41
41
|
// (undocumented)
|
|
42
42
|
readonly IAgentScheduler: IAgentScheduler;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
// @alpha
|
|
45
|
+
// @alpha @legacy
|
|
46
46
|
export interface ITaskSubscriptionEvents extends IEvent {
|
|
47
47
|
// (undocumented)
|
|
48
48
|
(event: "gotTask" | "lostTask", listener: () => void): any;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
// @alpha
|
|
51
|
+
// @alpha @legacy
|
|
52
52
|
export class TaskSubscription extends TypedEventEmitter<ITaskSubscriptionEvents> {
|
|
53
53
|
constructor(agentScheduler: IAgentScheduler, taskId: string);
|
|
54
54
|
haveTask(): boolean;
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/agent-scheduler",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.1",
|
|
4
4
|
"description": "Built in runtime object for distributing agents across instances of a container",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -47,28 +47,28 @@
|
|
|
47
47
|
"main": "lib/index.js",
|
|
48
48
|
"types": "lib/public.d.ts",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@fluid-internal/client-utils": "2.33.
|
|
51
|
-
"@fluidframework/container-definitions": "2.33.
|
|
52
|
-
"@fluidframework/core-interfaces": "2.33.
|
|
53
|
-
"@fluidframework/core-utils": "2.33.
|
|
54
|
-
"@fluidframework/datastore": "2.33.
|
|
55
|
-
"@fluidframework/datastore-definitions": "2.33.
|
|
56
|
-
"@fluidframework/map": "2.33.
|
|
57
|
-
"@fluidframework/register-collection": "2.33.
|
|
58
|
-
"@fluidframework/runtime-definitions": "2.33.
|
|
59
|
-
"@fluidframework/runtime-utils": "2.33.
|
|
60
|
-
"@fluidframework/telemetry-utils": "2.33.
|
|
50
|
+
"@fluid-internal/client-utils": "~2.33.1",
|
|
51
|
+
"@fluidframework/container-definitions": "~2.33.1",
|
|
52
|
+
"@fluidframework/core-interfaces": "~2.33.1",
|
|
53
|
+
"@fluidframework/core-utils": "~2.33.1",
|
|
54
|
+
"@fluidframework/datastore": "~2.33.1",
|
|
55
|
+
"@fluidframework/datastore-definitions": "~2.33.1",
|
|
56
|
+
"@fluidframework/map": "~2.33.1",
|
|
57
|
+
"@fluidframework/register-collection": "~2.33.1",
|
|
58
|
+
"@fluidframework/runtime-definitions": "~2.33.1",
|
|
59
|
+
"@fluidframework/runtime-utils": "~2.33.1",
|
|
60
|
+
"@fluidframework/telemetry-utils": "~2.33.1",
|
|
61
61
|
"uuid": "^9.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
65
65
|
"@biomejs/biome": "~1.9.3",
|
|
66
66
|
"@fluid-tools/build-cli": "^0.55.0",
|
|
67
|
-
"@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler@2.
|
|
67
|
+
"@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler@2.33.0",
|
|
68
68
|
"@fluidframework/build-common": "^2.0.3",
|
|
69
69
|
"@fluidframework/build-tools": "^0.55.0",
|
|
70
70
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
71
|
-
"@microsoft/api-extractor": "7.
|
|
71
|
+
"@microsoft/api-extractor": "7.52.5",
|
|
72
72
|
"@types/node": "^18.19.0",
|
|
73
73
|
"@types/uuid": "^9.0.2",
|
|
74
74
|
"concurrently": "^8.2.1",
|