Modules provide a mechanism to separate actor code into several files. More about modules and imports from dfinity docs. Also here is a simple example.
- Q: Can I have different actors in the same project
- Yes. Each is a separate canister. Actors can import canisters using
import XYZ "canister:XYZ"
syntax.
- Yes. Each is a separate canister. Actors can import canisters using