Skip to content

docs: add runnable examples - #4

Merged
ahmed-hashi-01 merged 1 commit into
mainfrom
examples/add-basic-examples
Jun 18, 2026
Merged

ahmed-hashi-01 merged 1 commit into
mainfrom
examples/add-basic-examples

Conversation

@ahmed-hashi-01

Copy link
Copy Markdown
Contributor

Summary

Adds runnable examples showing how DeadlineKit works.

What changed

  • Added a basic usage example
  • Added a fallback example for slow operations
  • Added an expired deadline example
  • Added npm scripts for running examples
  • Added tsx for running TypeScript examples directly

Checks

  • npm run example:basic
  • npm run example:fallback
  • npm run example:expired
  • npm run typecheck
  • npm test -- --run
  • npm run build

@ahmed-hashi-01
ahmed-hashi-01 merged commit daf24ba into main Jun 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant