user-documentation icon indicating copy to clipboard operation
user-documentation copied to clipboard

Add fb-only note to example using sleep()

Open qwl5004 opened this issue 5 years ago • 1 comments

Please complete the information below:

Where is the problem?

The \sleep code snippet

What is the problem?

I tried to follow the \sleep code but it's not recognized in VS Code. Should this be PHP\sleep() instead?


Please don't change anything below this point.


  • Build ID: HHVM=HHVM-4.68.0:HSL=v4.41.0:2020-08-17T20:16:46+0000:7af74eee111304c3c25319df9d95501d92a64697
  • Page requested: /hack/asynchronous-operations/some-basics
  • Page requested at: Mon, 24 Aug 2020 20:09:53 +0000
  • Controller: GuidePageController

qwl5004 avatar Aug 24 '20 20:08 qwl5004

The example is correct; an fbonly section should perhaps be added here, as there is Facebook-specific behavior that’s relevant

fredemmott avatar Aug 24 '20 20:08 fredemmott