@polywrap/concurrent-plugin-js
Advanced tools
Comparing version 0.10.0 to 0.12.0-pre.0
import { CoreClient } from "@polywrap/core-js"; | ||
import { PluginFactory } from "@polywrap/plugin-js"; | ||
import { Args_abort, Args_result, Args_schedule, Args_status, Int, TaskResult, TaskStatus, Module } from "./wrap"; | ||
declare type NoConfig = Record<string, never>; | ||
type NoConfig = Record<string, never>; | ||
export declare class ConcurrentPromisePlugin extends Module<NoConfig> { | ||
@@ -6,0 +6,0 @@ private _totalTasks; |
@@ -43,3 +43,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -46,0 +46,0 @@ if (y = 0, t) op = [op[0] & 2, t.value]; |
import * as Types from "./"; | ||
export declare type UInt = number; | ||
export declare type UInt8 = number; | ||
export declare type UInt16 = number; | ||
export declare type UInt32 = number; | ||
export declare type Int = number; | ||
export declare type Int8 = number; | ||
export declare type Int16 = number; | ||
export declare type Int32 = number; | ||
export declare type Bytes = Uint8Array; | ||
export declare type BigInt = string; | ||
export declare type BigNumber = string; | ||
export declare type Json = string; | ||
export declare type String = string; | ||
export declare type Boolean = boolean; | ||
export type UInt = number; | ||
export type UInt8 = number; | ||
export type UInt16 = number; | ||
export type UInt32 = number; | ||
export type Int = number; | ||
export type Int8 = number; | ||
export type Int16 = number; | ||
export type Int32 = number; | ||
export type Bytes = Uint8Array; | ||
export type BigInt = string; | ||
export type BigNumber = string; | ||
export type Json = string; | ||
export type String = string; | ||
export type Boolean = boolean; | ||
export interface Task { | ||
@@ -34,4 +34,4 @@ uri: Types.String; | ||
} | ||
export declare type TaskStatusString = "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED"; | ||
export declare type TaskStatus = TaskStatusEnum | TaskStatusString; | ||
export type TaskStatusString = "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED"; | ||
export type TaskStatus = TaskStatusEnum | TaskStatusString; | ||
export declare enum ReturnWhenEnum { | ||
@@ -42,3 +42,3 @@ FIRST_COMPLETED = 0, | ||
} | ||
export declare type ReturnWhenString = "FIRST_COMPLETED" | "ANY_COMPLETED" | "ALL_COMPLETED"; | ||
export declare type ReturnWhen = ReturnWhenEnum | ReturnWhenString; | ||
export type ReturnWhenString = "FIRST_COMPLETED" | "ANY_COMPLETED" | "ALL_COMPLETED"; | ||
export type ReturnWhen = ReturnWhenEnum | ReturnWhenString; |
{ | ||
"name": "@polywrap/concurrent-plugin-js", | ||
"description": "Run wrap invocations concurrently using promises", | ||
"version": "0.10.0", | ||
"version": "0.12.0-pre.0", | ||
"license": "MIT", | ||
@@ -25,24 +25,24 @@ "repository": { | ||
"dependencies": { | ||
"@polywrap/core-js": "0.10.0", | ||
"@polywrap/plugin-js": "0.10.0", | ||
"@polywrap/msgpack-js": "0.10.0" | ||
"@polywrap/core-js": "~0.12.0-pre.0", | ||
"@polywrap/plugin-js": "~0.12.0-pre.0", | ||
"@polywrap/msgpack-js": "~0.12.0-pre.0" | ||
}, | ||
"peerDependencies": { | ||
"@polywrap/core-js": "0.10.x", | ||
"@polywrap/plugin-js": "0.10.x", | ||
"@polywrap/msgpack-js": "0.10.x" | ||
"@polywrap/core-js": "0.12.x", | ||
"@polywrap/plugin-js": "0.12.x", | ||
"@polywrap/msgpack-js": "0.12.x" | ||
}, | ||
"devDependencies": { | ||
"@polywrap/client-js": "0.10.0", | ||
"@polywrap/http-plugin-js": "0.10.0", | ||
"@polywrap/cli-js": "0.10.2", | ||
"@types/jest": "26.0.8", | ||
"@polywrap/client-js": "~0.12.0-pre.0", | ||
"@polywrap/http-plugin-js": "~0.12.0-pre.0", | ||
"@polywrap/cli-js": "~0.11.0-pre.0", | ||
"@types/jest": "29.5.0", | ||
"@types/prettier": "2.6.0", | ||
"polywrap": "0.10.2", | ||
"jest": "26.6.3", | ||
"polywrap": "~0.11.0-pre.0", | ||
"jest": "29.5.0", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "26.5.4", | ||
"ts-node": "8.10.2", | ||
"typescript": "4.6.4" | ||
"ts-jest": "29.1.0", | ||
"ts-node": "10.9.1", | ||
"typescript": "4.9.5" | ||
} | ||
} |
@@ -7,3 +7,3 @@ # @polywrap/concurrent-plugin-js | ||
The Concurrent plugin implements an existing wrap interface at `wrap://ens/wraps.eth:concurrent@1.0.0`. | ||
The Concurrent plugin implements an existing wrap interface at `wrapscan.io/polywrap/concurrent@1.0`. | ||
@@ -19,3 +19,3 @@ ## Usage | ||
.addPackage( | ||
"wrap://ens/wraps.eth:concurrent@1.0.0", | ||
"wrapscan.io/polywrap/concurrent@1.0", | ||
concurrentPromisePlugin({ }) | ||
@@ -22,0 +22,0 @@ ) |
43518
+ Added@polywrap/core-js@0.12.2(transitive)
+ Added@polywrap/msgpack-js@0.12.2(transitive)
+ Added@polywrap/plugin-js@0.12.2(transitive)
+ Added@polywrap/result@0.12.2(transitive)
+ Added@polywrap/tracing-js@0.12.2(transitive)
+ Added@polywrap/wrap-manifest-types-js@0.12.2(transitive)
+ Addedajv@8.12.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedjson-schema-traverse@1.0.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedrequire-from-string@2.0.2(transitive)
+ Addedsemver@7.5.4(transitive)
+ Addeduri-js@4.4.1(transitive)
- Removed@apidevtools/json-schema-ref-parser@9.0.9(transitive)
- Removed@jsdevtools/ono@7.1.3(transitive)
- Removed@polywrap/core-js@0.10.0(transitive)
- Removed@polywrap/msgpack-js@0.10.0(transitive)
- Removed@polywrap/plugin-js@0.10.0(transitive)
- Removed@polywrap/result@0.10.0(transitive)
- Removed@polywrap/tracing-js@0.10.0(transitive)
- Removed@polywrap/wrap-manifest-types-js@0.10.0(transitive)
- Removed@types/json-schema@7.0.15(transitive)
- Removedargparse@2.0.1(transitive)
- Removedcall-me-maybe@1.0.2(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjsonschema@1.4.0(transitive)
- Removedsemver@7.4.0(transitive)