Writing complex actors
See original GitHub issueI need to create a complex actor using some private methods to update the internal state, but I cannot find any useful base class to implement ActorJob
.
What is the best practice in such case?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:21
- Comments:74 (32 by maintainers)
Top Results From Across the Web
The 30 Best Actor-Writers | Complex
Justin Theroux Rashida Jones Danny McBride Jason Segel Tyler Perry Lena Dunham George Clooney Jim Rash Danny Strong Miranda July Tim Robbins Tina...
Read more >The Key to Writing Complex Characters - By Britton Perelman
Characters are not real, but they should breathe life just like you or me. And the best ones do. Forrest Gump. Captain Jack...
Read more >8 Writing Tips from an Actor: How Acting Taught Me To Write
8 Writing Tips from an Actor: How Acting Taught Me To Write · 1. Work on the Self · 2. Give Up Control...
Read more >Craft: How To Write To Attract A Movie Star - Script Magazine
Make sure there are at least one or two killer speeches in your script. They needn't and shouldn't go on forever, but they...
Read more >10 Actors Who Wrote The Movies They Starred In - TheThings
Writing their own scripts allows them to write their dream role which they ... difficult especially when actors find themselves "type-cast.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
We are starting a new project and Actors model fits perfectly. I wonder that using Kotlin Actors requires to mark all code with
@ObsoleteCoroutinesApi
.Do we have any progress on the actors implementation replacement?
What is your suggestion for those who want to use actors in the meantime (until actors come out of the experimental stage)? I’m currently working on a multiplatform library, so using coroutines to enable concurrency is very convenient, but I’m a bit puzzled about the best way (currently) to go about implementing something like a complex actor in your examples (A class which has suspending functions which work on shared mutable state).