| Flutter iOS Embedder |

Classes | Functions
FLUTTER_ASSERT_ARC Namespace Reference

## Classes
class | MockPlatformMessageResponse

## Functions
fml::RefPtr< fml::TaskRunner > | CreateNewThread (const std::string &name)
fml::RefPtr< fml::TaskRunner > | GetCurrentTaskRunner ()

## Function Documentation

## ◆ CreateNewThread()

fml::RefPtr< fml::TaskRunner > FLUTTER_ASSERT_ARC::CreateNewThread | ( | const std::string & | name | ) |

Definition at line 16 of file VsyncWaiterIosTest.mm.

16 {
17 auto thread = std::make_unique<fml::Thread>(name);
18 auto runner = thread->GetTaskRunner();
19 return runner;
20 }

## ◆ GetCurrentTaskRunner()

fml::RefPtr<fml::TaskRunner> FLUTTER_ASSERT_ARC::GetCurrentTaskRunner | ( |  | ) |

Definition at line 27 of file platform_message_handler_ios_test.mm.

27 {
28 fml::MessageLoop::EnsureInitializedForCurrentThread();
29 return fml::MessageLoop::GetCurrent().GetTaskRunner();
30 }