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

Simple example for async

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
lua
領域
documentation

調査の方向性

Start with the async reading example in the README, then compare how telescope and neotree invoke plenary.async from plugin setup. Done means the documentation includes a simple from-scratch setup example showing how to organize asynchronous I/O calls without callbacks.

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

説明

I am writing a plugin, which needs to do some i/o jobs on setup and later. So i want to to all of this async and without callbacks.
Is there some simple example from scratch, which explains how to organise all this calls, starting from setup function?

In readme you give example of async reading like

local a = require "plenary.async"
local read_file = function(path)
-- ...

But it is not obvious, from which context i should invoke it. All i doing now is reading telescope and neotree sources to figure out how to use it, but it's hard way, i would prefer some more simple project to research.

主要言語
Lua
スター
3.5k
フォーク
341
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

nvim-lua/plenary.nvim のほかの issue

nvim-lua/plenary.nvim の issue をすべて見る

似ている issue

Lua の issue をもっと見る

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

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