Skip to content

Commit

Permalink
Update platform.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yusinto committed Nov 27, 2023
1 parent 309ea15 commit d1f6f90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sdk/react-native/src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import RNEventSource from './react-native-sse';

class PlatformRequests implements Requests {
createEventSource(url: string, eventSourceInitDict: EventSourceInitDict): EventSource {
// TODO: add retry logic
return new RNEventSource<EventName>(url, eventSourceInitDict);
}

Expand Down

0 comments on commit d1f6f90

Please sign in to comment.