Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Pause/Resume support

オープン
#29 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, node.js
領域
backend

調査の方向性

ファイルやテストは指定されていません。まず、パッケージのエントリポイントから task と task-group のステータスチェック、およびキュー実行をたどり、その後、既存のテストスイートを実行してください。完了の条件は、すでに実行中の task が継続する間、task-group に対する一時停止/再開の動作が機能し、影響を受けるステータスチェックのカバレッジがあることです。

索引モデルが issue の本文から書いたものです。

説明

I felt great when found out this awesome lib, which fit my needs when there's support for nested/grouping. Thank you very much.

But when being hooked into it, I think that it lacks the ability to pause/resume the task/group (on purpose).

I have been able to pause/resume the taskgroup (the running task still run), by:

  • Add a new status: paused
  • Add 2 methods:
    • pause(): Change this.state.status to paused
    • resume(): Change this.state.status to false & run the queue again (this.run())
  • Update some status checks

Not sure if there's any official guide for pause/resume, or someone already working on it. If my changes are going to the right direction, I can create a PR for it so you can take a look :) I guess there must be other places need to be updated accordingly :)

主要言語
JavaScript
スター
50
フォーク
12
平均マージ
2分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bevry/taskgroup のほかの issue

bevry/taskgroup の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。