Skip to content

Commit

Permalink
Using TaskInterface for prerenderSurface (facebook#38758)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#38758

Using TaskInterface for prerenderSurface

Reviewed By: christophpurrer, cortinico

Differential Revision: D48006771

fbshipit-source-id: 989a0c4cf7930a67d3f8f2c3284450a5188b306e
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Aug 3, 2023
1 parent 51263cc commit 379f149
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ public TaskInterface<Void> start() {
}

/** Initialize and run a React Native surface in a background without mounting real views. */
/* package */ Task<Void> prerenderSurface(final ReactSurface surface) {
/* package */
TaskInterface<Void> prerenderSurface(final ReactSurface surface) {
final String method = "prerenderSurface(surfaceId = " + surface.getSurfaceID() + ")";
log(method, "Schedule");

Expand Down

0 comments on commit 379f149

Please sign in to comment.