Combine the butter, cream, brown sugar, corn syrup, cocoa, and salt in a small saucepan over medium heat and bring to a simmer. Simmer on low, stirring, for 3 to 5 more minutes after everything has melted, then remove from heat and stir in espresso morsels. Stir in vanilla.