You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(core): remove spurious async from synchronous methods
29 require-await warnings and 1 unused eslint-disable directive.
All methods either implement an interface returning Promise<T> with a
synchronous body (return Promise.resolve() explicitly) or are private
helpers that never needed async in the first place (return bare
CommsResult).
Files changed:
- bridges/pi: eslint-disable for SDK-mandated async handler
- discovery backends: Promise.resolve() for interface-compliant stubs
- federation: Promise.resolve() for synchronous disconnect
- mesh-store: Promise.resolve() for fire-and-forget connectToRemote
- store: remove async from throw-only FileStore stubs
- transports: Promise.resolve() for synchronous removeListener/shutdown
- tool: return bare CommsResult from synchronous query methods
- test helper: remove unused eslint-disable directive
0 commit comments