Thomasdezeeuw / heph

Heph is an actor library for Rust based on asynchronous functions.
MIT License
133 stars 6 forks source link

Implement From<Runtime(Ref)> for Thread{Local,Safe} #616

Closed Thomasdezeeuw closed 8 months ago

Thomasdezeeuw commented 8 months ago

This allows the creation of ThreadLocal and ThreadSafe from the Runtime and RuntimeRef types.

This is required for manual creation of actors using ActorFutureBuilder type and customer runtime.