Octokit bindings
Adapter design. This page specifies the unpublished adapter. Run a request with Octokit and Effect.
These bindings preserve the supplied client’s behavior. Bind each operation to its original receiver and preserve overloads, argument order, return envelopes, synchronous helper properties, callback conventions and plugin decorations. A binding hands a deferred operation to the shared Effect implementation. A pure metadata lookup can return immediately.
| Family | Boundary |
|---|---|
| Client and request | Constructors, defaults, request overloads, endpoint preparation and transport options |
| Named REST | All namespaces, decorated names and eligible legacy aliases |
| GraphQL | Generic operations, partial responses and cursor pagination |
| Pagination | Upstream REST page normalization and SDK collection overloads |
| Authentication | Auth strategies, token acquisition, callbacks and hooks |
| GitHub Apps | App and installation clients, resource iterators and conditional components |
| OAuth Apps | User clients, token lifecycle, device/web flows and notifications |
| Webhooks | Signature verification, event dispatch and listener capabilities |
| Host middleware | Request/response conventions for the supported server hosts |
| Plugins and hooks | SDK composition, request hooks and typed third-party extensions |
Never substitute a new default client for one supplied by a caller. Never install a global hook to inject a single operation’s signal. Keep scheduling, error tagging, scopes and fiber policy in the adjacent Effect tree.