An adaptive Euler-Maruyama scheme for SDDEs | Synapse