Class: Supabase::Auth::Async::Api

Inherits:
Supabase::Auth::Api show all
Defined in:
lib/supabase/auth/async/api.rb

Overview

Async counterpart to Supabase::Auth::Api.

Inherits everything (request dispatch, header merging, error mapping, JSON parsing) and only swaps the Faraday adapter to async-http-faraday so HTTP I/O yields back to the Async reactor instead of blocking the thread.

Call sites must run inside an ‘Async do … end` block; outside one, the adapter still works but loses the concurrency win.

Constant Summary

Constants inherited from Supabase::Auth::Api

Supabase::Auth::Api::CONTENT_TYPE, Supabase::Auth::Api::UUID_REGEX

Instance Attribute Summary

Attributes inherited from Supabase::Auth::Api

#headers, #url

Method Summary

Methods inherited from Supabase::Auth::Api

#_request, #_validate_uuid, #delete, #get, #initialize, #post, #put

Constructor Details

This class inherits a constructor from Supabase::Auth::Api