nilbuild / nilbuild/driver.js

Request to Add Promise Support for Asynchronous Operations in driver.js

Open
#513 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
26.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to add awaitable tours

sample:

this.driverInstance = driver({});

let isTour = true;
await this.driverInstance.drive();
let isTour = false;

I want this because I need to manage some states during the tour, like activating buttons etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the driverInstance.drive() API and the existing tour lifecycle. Determine when an awaitable drive() should resolve, using the provided state-management example as the acceptance criterion. Done means callers can await tour completion and reliably run state changes afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.