You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How feasible would it be to make the engine field of the Docs struct public? This would allow for retrieving the default author ID without async or error handling; as an alternative, perhaps the Docs struct could get a method returning a iroh_docs::engine::DefaultAuthor? I was able to do this before, but now that Docs is the protocol handler instead of Engine, I can only get the default author through the authors client, which is more of a headache because of async and Result.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
How feasible would it be to make the
engine
field of theDocs
struct public? This would allow for retrieving the default author ID withoutasync
or error handling; as an alternative, perhaps theDocs
struct could get a method returning airoh_docs::engine::DefaultAuthor
? I was able to do this before, but now thatDocs
is the protocol handler instead ofEngine
, I can only get the default author through the authors client, which is more of a headache because ofasync
andResult
.Thanks!
The text was updated successfully, but these errors were encountered: