conductor-oss / conductor-oss/javascript-sdk
SDK doesn't accurately represent task types
- Vorherrschende Sprache
- TypeScript
- Sterne
- 58
- Forks
- 20
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
We've recently tried using the SDK to create tasks with some more advanced properties such as `timeoutSeconds` and `pollTimeoutSeconds`. These are not present in the SDK ( and aren't very obvious in the docs either ). It's required us to do something like:
```
const task = {
...simpleTask('someRef', 'someTask', {}),
taskDefinition: {
timeoutSeconds: 300,
pollTimeoutSeconds: 300
}
}
```
It'd be great if the SDK supported these options.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Das Issue nennt das SDK und das simpleTask-Konstruktionsbeispiel; beginne damit nachzuverfolgen, wie Task-Typen und taskDefinition dargestellt werden. Bestätige, dass timeoutSeconds und pollTimeoutSeconds über das öffentliche Task-Modell unterstützt werden und dass der dokumentierte Konstruktionsweg für beide Optionen funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- api
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100