Skip to content

How to know whether the API of Filament needs to run in the Filament thread? #6833

Answered by pixelflinger
August1996 asked this question in Q&A
Discussion options

You must be logged in to vote

Filament must be used from a single thread. So you just move all filament calls (including creation) to the worker thread.

I'm interested to know which filament apis are taking excessive time though. You should be able to use filament from the main thread without too many issues.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@romainguy
Comment options

@August1996
Comment options

Answer selected by romainguy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants