Closed DaniruKun closed 3 years ago
Hey @DaniruKun. Thanks for sending in the PR, I appreciate you trying to contribute to Memento!
But a wrapper for wait_for_tables
was already implemented at Memento.wait/2
(because it's used with schemas too). But I also understand that it would not be the first place you'd look for it.
So I've moved the implementation to Memento.Table.wait/2
in 955d37cf4a85ebbfe3cdba6c5562e80e3c2390fe while still keeping a delegate to it in the root module. Please upgrade to v0.3.2
for the recent changes as well as some minor improvements.
This PR implements a simple wrapper around the mnesia function
wait_for_tables
.https://erlang.org/doc/man/mnesia.html#wait_for_tables-2